Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 118.3 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 219 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.362/1.362, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 48.08 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09318, allocations: 53.33 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002647/0.09583, allocations: 1.638 MB / 428.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008668/0.09669, allocations: 0.5455 MB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.09675, allocations: 4 kB / 429.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.75e-05/0.09679, allocations: 11.86 kB / 429.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.09686, allocations: 27.78 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.09706, allocations: 35.89 kB / 429.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.0972, allocations: 95.53 kB / 429.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.09731, allocations: 31.97 kB / 429.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.09736, allocations: 31.92 kB / 429.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.09745, allocations: 43.78 kB / 429.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.09747, allocations: 8 kB / 429.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.09754, allocations: 19.94 kB / 429.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.09756, allocations: 12 kB / 429.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.068e-05/0.09762, allocations: 47.78 kB / 429.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.09778, allocations: 99.62 kB / 429.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.09778, allocations: 0 / 429.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09778, allocations: 4 kB / 429.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.09779, allocations: 0 / 429.6 MB, free: 2.125 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005008/0.09829, allocations: 379.2 kB / 430 MB, free: 1.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.09832, allocations: 8.031 kB / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.147e-05/0.09834, allocations: 4.188 kB / 430 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.09838, allocations: 50.72 kB / 430.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.09848, allocations: 12.89 kB / 430.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.09864, allocations: 176.2 kB / 430.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.09865, allocations: 4.375 kB / 430.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.09868, allocations: 8.375 kB / 430.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.09885, allocations: 89.59 kB / 430.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.09886, allocations: 0 / 430.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.09887, allocations: 4 kB / 430.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.09888, allocations: 7.938 kB / 430.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.09899, allocations: 47.97 kB / 430.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006483/0.09963, allocations: 408.5 kB / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.09976, allocations: 70.48 kB / 430.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.09981, allocations: 32.84 kB / 430.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.09982, allocations: 0 / 430.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.09985, allocations: 38.56 kB / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.09985, allocations: 0 / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002027/0.1, allocations: 85.84 kB / 431 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.1001, allocations: 59.41 kB / 431.1 MB, free: 492 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.859e-05/0.1002, allocations: 106 kB / 431.2 MB, free: 376 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1002, allocations: 37.58 kB / 431.2 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.1003, allocations: 95.98 kB / 431.3 MB, free: 232 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.1003, allocations: 31.73 kB / 431.4 MB, free: 200 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.1003, allocations: 29.7 kB / 431.4 MB, free: 164 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1005, allocations: 318.8 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.1005, allocations: 23.98 kB / 431.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.1006, allocations: 46.58 kB / 431.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.904e-05/0.1007, allocations: 66.61 kB / 431.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1007, allocations: 0 / 431.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001502/0.1008, allocations: 109.5 kB / 431.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1008, allocations: 4 kB / 432 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1008, allocations: 8.016 kB / 432 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1008, allocations: 3.984 kB / 432 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.101, allocations: 20 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.101, allocations: 3.984 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.101, allocations: 8 kB / 432 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.101, allocations: 4 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.56e-05/0.1011, allocations: 125.8 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.1011, allocations: 3.953 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.1012, allocations: 20.31 kB / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1012, allocations: 0 / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1012, allocations: 0 / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1012, allocations: 0 / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.1014, allocations: 189.6 kB / 432.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1014, allocations: 0 / 432.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.1015, allocations: 16 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1015, allocations: 4 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1015, allocations: 11.92 kB / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1015, allocations: 0 / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1015, allocations: 256 / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.1017, allocations: 199.4 kB / 432.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.1018, allocations: 89.08 kB / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.1018, allocations: 7.938 kB / 432.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.1019, allocations: 0 / 432.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.1019, allocations: 8 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.1019, allocations: 4.062 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.702e-05/0.1019, allocations: 87.2 kB / 432.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1019, allocations: 0 / 432.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1022, allocations: 24 kB / 432.8 MB, free: 14.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005047/0.1027, allocations: 0.7318 MB / 433.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.1028, allocations: 52.05 kB / 433.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1028, allocations: 0 / 433.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.1029, allocations: 27.92 kB / 433.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.1031, allocations: 6.391 kB / 433.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.1047, allocations: 1.55 MB / 435.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.105, allocations: 0.6922 MB / 435.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.97e-05/0.1051, allocations: 4 kB / 435.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.1051, allocations: 23.42 kB / 435.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1051, allocations: 4 kB / 435.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.124, allocations: 1.852 MB / 437.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/7.613, allocations: 0 / 437.7 MB, free: 9.68 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.998444191005547]