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.001022/0.001022, allocations: 106.6 kB / 17.73 MB, free: 5.367 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.001182/0.001182, allocations: 187.1 kB / 18.66 MB, free: 4.445 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.328/1.328, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001486/0.001487, allocations: 51.94 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08191/0.08341, allocations: 46.61 MB / 374.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004395/0.08785, allocations: 2.995 MB / 377.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.08985, allocations: 1.197 MB / 378.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.09013, allocations: 4 kB / 378.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.09067, allocations: 163.2 kB / 379 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005131/0.0912, allocations: 186.9 kB / 379.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.09162, allocations: 155.6 kB / 379.3 MB, free: 396 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.165/0.2566, allocations: 437 kB / 379.7 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.2569, allocations: 109.2 kB / 379.8 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003432/0.2573, allocations: 179.8 kB / 380 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.2576, allocations: 197 kB / 380.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.2576, allocations: 29.53 kB / 380.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.2578, allocations: 67.84 kB / 380.3 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2579, allocations: 83.81 kB / 380.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.2581, allocations: 190.3 kB / 380.6 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.2587, allocations: 458.3 kB / 381 MB, free: 9.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2587, allocations: 3.094 kB / 381 MB, free: 9.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2587, allocations: 1.375 kB / 381 MB, free: 9.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.2587, allocations: 0.5625 kB / 381 MB, free: 9.109 MB / 318.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.0008784/0.2596, allocations: 0.6873 MB / 381.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2597, allocations: 9.625 kB / 381.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.708e-05/0.2597, allocations: 67.25 kB / 381.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.2598, allocations: 51.89 kB / 381.8 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.2602, allocations: 321.9 kB / 382.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.2603, allocations: 23.14 kB / 382.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.2603, allocations: 25.28 kB / 382.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.2608, allocations: 309.9 kB / 382.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.2609, allocations: 7.609 kB / 382.5 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.2609, allocations: 16.62 kB / 382.5 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.2609, allocations: 6.281 kB / 382.5 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.2613, allocations: 183.4 kB / 382.7 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.2625, allocations: 0.8631 MB / 383.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.263, allocations: 255.9 kB / 383.8 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.2632, allocations: 101.6 kB / 383.9 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.2632, allocations: 9.75 kB / 383.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.2635, allocations: 160.7 kB / 384.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.933e-06/0.2635, allocations: 0 / 384.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002065/0.2656, allocations: 1.317 MB / 385.4 MB, free: 7.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.2657, allocations: 189 kB / 385.6 MB, free: 6.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.266, allocations: 350.6 kB / 385.9 MB, free: 6.742 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.266, allocations: 32.05 kB / 386 MB, free: 6.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2662, allocations: 196.8 kB / 386.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.232e-05/0.2662, allocations: 140.6 kB / 386.3 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.577e-05/0.2663, allocations: 77.22 kB / 386.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.2664, allocations: 352.3 kB / 386.7 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.2666, allocations: 90.25 kB / 386.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.2668, allocations: 177.2 kB / 387 MB, free: 5.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.2672, allocations: 252.1 kB / 387.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2672, allocations: 0 / 387.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005073/0.2677, allocations: 353.2 kB / 387.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2677, allocations: 10.39 kB / 387.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2677, allocations: 3.562 kB / 387.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.779e-05/0.2678, allocations: 21.56 kB / 387.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.2682, allocations: 86.3 kB / 387.7 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007525/0.2689, allocations: 1.395 MB / 389.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.2691, allocations: 16.66 kB / 389.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.2691, allocations: 13.41 kB / 389.1 MB, free: 4.164 MB / 318.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.0001521/0.2693, allocations: 181.3 kB / 389.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.2694, allocations: 39.69 kB / 389.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.463e-05/0.2695, allocations: 51.02 kB / 389.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2695, allocations: 5.062 kB / 389.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2695, allocations: 0 / 389.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000476/0.27, allocations: 0.6623 MB / 390 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.271, allocations: 0.8542 MB / 390.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.271, allocations: 1.062 kB / 390.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.2713, allocations: 76.98 kB / 391 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2713, allocations: 2.531 kB / 391 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.2714, allocations: 12.27 kB / 391 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.2714, allocations: 7.094 kB / 391 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2714, allocations: 2.344 kB / 391 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/0.272, allocations: 0.5549 MB / 391.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.2722, allocations: 135.1 kB / 391.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.2722, allocations: 15.41 kB / 391.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.2724, allocations: 14.44 kB / 391.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.2725, allocations: 32.86 kB / 391.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.2725, allocations: 14.73 kB / 391.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.2728, allocations: 250.7 kB / 392 MB, free: 2.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2728, allocations: 1.125 kB / 392 MB, free: 2.195 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.2732, allocations: 99.59 kB / 392.1 MB, free: 2.176 MB / 318.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.001525/0.2747, allocations: 1.401 MB / 393.5 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.2753, allocations: 379.3 kB / 393.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2753, allocations: 1.656 kB / 393.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.2755, allocations: 141.7 kB / 394 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.276, allocations: 104.5 kB / 394.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.2805, allocations: 3.672 MB / 397.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.2809, allocations: 0.8118 MB / 398.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000193/0.2811, allocations: 43.06 kB / 398.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.2813, allocations: 132.3 kB / 398.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of SimCode: time 6.12e-07/0.2813, allocations: 0 / 398.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.3111, allocations: 9.567 MB / 408.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.33, allocations: 18.8 kB / 408.4 MB, free: 10.38 MB / 334.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches