Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 112.3 kB / 17.16 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 190 kB / 18.07 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 223.9 MB, free: 12.37 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 55.92 kB / 280.1 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.09264, allocations: 46.63 MB / 326.7 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004566/0.09726, allocations: 3.021 MB / 329.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.09913, allocations: 1.174 MB / 330.9 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.09928, allocations: 7.938 kB / 330.9 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.09978, allocations: 143.4 kB / 331 MB, free: 404 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.1001, allocations: 159.1 kB / 331.2 MB, free: 244 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.1005, allocations: 127.8 kB / 331.3 MB, free: 116 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.1009, allocations: 414.1 kB / 331.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1011, allocations: 95.03 kB / 331.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.1012, allocations: 167.3 kB / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.1015, allocations: 191.1 kB / 332.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.1016, allocations: 20 kB / 332.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.1017, allocations: 59.92 kB / 332.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.688e-05/0.1018, allocations: 79.75 kB / 332.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.102, allocations: 179 kB / 332.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004945/0.1025, allocations: 446.4 kB / 332.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1025, allocations: 0 / 332.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1025, allocations: 0 / 332.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1025, allocations: 4 kB / 332.9 MB, free: 14.5 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009773/0.1035, allocations: 0.6867 MB / 333.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1035, allocations: 12.03 kB / 333.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.88e-05/0.1037, allocations: 67.19 kB / 333.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.1037, allocations: 48.45 kB / 333.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.1041, allocations: 328.3 kB / 334.1 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1041, allocations: 20.94 kB / 334.1 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.1042, allocations: 31.94 kB / 334.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.1047, allocations: 307.1 kB / 334.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1047, allocations: 4 kB / 334.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.1047, allocations: 15.98 kB / 334.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1047, allocations: 4 kB / 334.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.1051, allocations: 182.1 kB / 334.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.1064, allocations: 0.8755 MB / 335.5 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.1069, allocations: 268 kB / 335.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.1071, allocations: 105.4 kB / 335.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.1071, allocations: 8.281 kB / 335.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003568/0.1075, allocations: 164.8 kB / 336 MB, free: 11.19 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.1075, allocations: 0 / 336 MB, free: 11.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002254/0.1097, allocations: 1.323 MB / 337.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/0.1099, allocations: 187.9 kB / 337.5 MB, free: 9.527 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.1102, allocations: 352.5 kB / 337.9 MB, free: 9.176 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.1102, allocations: 33.7 kB / 337.9 MB, free: 9.137 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1104, allocations: 188.6 kB / 338.1 MB, free: 8.949 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.753e-05/0.1105, allocations: 141.9 kB / 338.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1106, allocations: 82.03 kB / 338.3 MB, free: 8.723 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1107, allocations: 354.7 kB / 338.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.1109, allocations: 84.84 kB / 338.7 MB, free: 8.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.1111, allocations: 181.2 kB / 338.9 MB, free: 8.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.1115, allocations: 250.2 kB / 339.2 MB, free: 7.812 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1115, allocations: 0 / 339.2 MB, free: 7.812 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005725/0.1121, allocations: 354.3 kB / 339.5 MB, free: 7.457 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1121, allocations: 12.06 kB / 339.5 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1121, allocations: 7.984 kB / 339.5 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.815e-05/0.1122, allocations: 20.84 kB / 339.6 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.1125, allocations: 87.91 kB / 339.6 MB, free: 7.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.1135, allocations: 1.292 MB / 340.9 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.1137, allocations: 12 kB / 340.9 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1138, allocations: 16 kB / 341 MB, free: 5.875 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.1139, allocations: 161.8 kB / 341.1 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.114, allocations: 39.53 kB / 341.2 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.232e-05/0.1141, allocations: 52.05 kB / 341.2 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1141, allocations: 11.88 kB / 341.2 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1141, allocations: 0 / 341.2 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000572/0.1147, allocations: 0.6609 MB / 341.9 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.1158, allocations: 0.8563 MB / 342.7 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1158, allocations: 0 / 342.7 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.1161, allocations: 79.84 kB / 342.8 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1161, allocations: 4 kB / 342.8 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.1161, allocations: 8 kB / 342.8 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.1161, allocations: 0 / 342.8 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1162, allocations: 4 kB / 342.8 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.1169, allocations: 0.5458 MB / 343.4 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.117, allocations: 140.7 kB / 343.5 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.1171, allocations: 8 kB / 343.5 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.1173, allocations: 23.92 kB / 343.5 MB, free: 3.051 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.1174, allocations: 23.97 kB / 343.6 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.1174, allocations: 16 kB / 343.6 MB, free: 3.012 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002431/0.1177, allocations: 259 kB / 343.8 MB, free: 2.762 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1177, allocations: 0 / 343.8 MB, free: 2.762 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.1181, allocations: 91.98 kB / 343.9 MB, free: 2.672 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001797/0.1199, allocations: 1.409 MB / 345.3 MB, free: 1.238 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005667/0.1205, allocations: 374.4 kB / 345.7 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1205, allocations: 0 / 345.7 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.1207, allocations: 135.8 kB / 345.8 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.1212, allocations: 89.27 kB / 345.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.1256, allocations: 3.836 MB / 349.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.126, allocations: 0.8079 MB / 350.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000194/0.1262, allocations: 47.25 kB / 350.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.1264, allocations: 135.4 kB / 350.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1264, allocations: 0 / 350.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.149, allocations: 8.86 MB / 359.6 MB, free: 2.746 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/0.1494, allocations: 273.9 kB / 359.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.05, allocations: 3.938 kB / 359.9 MB, free: 2.363 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches