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.001246/0.001246, allocations: 114.2 kB / 17.74 MB, free: 5.355 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.001214/0.001214, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.385/1.385, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001717/0.001717, allocations: 55.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.08778, allocations: 46.62 MB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004883/0.09269, allocations: 2.999 MB / 377.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.09494, allocations: 1.189 MB / 378.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.0952, allocations: 7.938 kB / 378.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.09581, allocations: 171.1 kB / 379 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005857/0.09641, allocations: 178.9 kB / 379.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.09691, allocations: 155.6 kB / 379.3 MB, free: 392 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.152/0.2489, allocations: 435.7 kB / 379.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.2493, allocations: 108.4 kB / 379.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.2497, allocations: 175.4 kB / 380 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.25, allocations: 195.2 kB / 380.2 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.317e-05/0.2501, allocations: 31.12 kB / 380.2 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.2503, allocations: 71.69 kB / 380.3 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.2504, allocations: 84.62 kB / 380.4 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.2506, allocations: 189.7 kB / 380.6 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.2513, allocations: 461.2 kB / 381 MB, free: 9.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2513, allocations: 3.75 kB / 381 MB, free: 9.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2513, allocations: 0 / 381 MB, free: 9.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.2513, allocations: 1.375 kB / 381 MB, free: 9.133 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.001032/0.2523, allocations: 0.7022 MB / 381.7 MB, free: 8.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2524, allocations: 10.38 kB / 381.7 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.753e-05/0.2525, allocations: 71.06 kB / 381.8 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.2526, allocations: 48.56 kB / 381.9 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.2531, allocations: 327.9 kB / 382.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.2531, allocations: 22.39 kB / 382.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.2531, allocations: 27.94 kB / 382.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/0.2537, allocations: 311 kB / 382.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.2537, allocations: 1.953 kB / 382.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.2538, allocations: 18.31 kB / 382.6 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.2538, allocations: 9.25 kB / 382.6 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.2542, allocations: 182.4 kB / 382.7 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.2555, allocations: 0.8663 MB / 383.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.256, allocations: 255.9 kB / 383.9 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.2562, allocations: 98.61 kB / 384 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.2562, allocations: 13.7 kB / 384 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.2565, allocations: 159 kB / 384.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.2565, allocations: 0 / 384.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002136/0.2587, allocations: 1.325 MB / 385.4 MB, free: 7.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.2587, allocations: 186 kB / 385.6 MB, free: 6.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.2591, allocations: 353.4 kB / 386 MB, free: 6.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.2591, allocations: 35.92 kB / 386 MB, free: 6.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2592, allocations: 196.2 kB / 386.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.411e-05/0.2593, allocations: 149.5 kB / 386.3 MB, free: 6.414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.961e-05/0.2594, allocations: 72.95 kB / 386.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.2595, allocations: 356.3 kB / 386.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.2597, allocations: 90.72 kB / 386.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.2599, allocations: 175.8 kB / 387 MB, free: 5.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.2602, allocations: 251.4 kB / 387.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2603, allocations: 1.094 kB / 387.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005361/0.2608, allocations: 351.2 kB / 387.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2608, allocations: 10.34 kB / 387.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2608, allocations: 1.562 kB / 387.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.221e-05/0.2609, allocations: 20.39 kB / 387.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.2613, allocations: 88.8 kB / 387.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007678/0.262, allocations: 1.401 MB / 389.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.2623, allocations: 10.69 kB / 389.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.2623, allocations: 14.25 kB / 389.2 MB, free: 4.145 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.0001623/0.2625, allocations: 180.9 kB / 389.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.2625, allocations: 40.92 kB / 389.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.908e-05/0.2626, allocations: 50.67 kB / 389.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2626, allocations: 3.438 kB / 389.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2626, allocations: 0 / 389.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005033/0.2631, allocations: 0.6628 MB / 390.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.2642, allocations: 0.8517 MB / 390.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.2642, allocations: 1.891 kB / 390.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.2646, allocations: 78.58 kB / 391 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2646, allocations: 3.406 kB / 391 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.2646, allocations: 8.531 kB / 391 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2646, allocations: 4.688 kB / 391 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.2646, allocations: 3.656 kB / 391 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.2653, allocations: 0.5567 MB / 391.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2655, allocations: 143.8 kB / 391.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.2655, allocations: 10.98 kB / 391.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.2657, allocations: 17.86 kB / 391.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.2658, allocations: 33 kB / 391.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.2658, allocations: 11.48 kB / 391.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.2661, allocations: 253.9 kB / 392.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2661, allocations: 0.9375 kB / 392.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.2665, allocations: 99.75 kB / 392.2 MB, free: 2.148 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.002165/0.2687, allocations: 1.394 MB / 393.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000693/0.2694, allocations: 383.4 kB / 393.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2694, allocations: 1.125 kB / 393.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.2696, allocations: 139.5 kB / 394.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.2703, allocations: 109.7 kB / 394.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/0.2752, allocations: 3.68 MB / 397.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.2757, allocations: 0.8099 MB / 398.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002427/0.2759, allocations: 44.89 kB / 398.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.2762, allocations: 133.1 kB / 398.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2762, allocations: 1.344 kB / 398.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03808/0.3143, allocations: 9.424 MB / 408.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.14, allocations: 20.2 kB / 408.3 MB, free: 10.42 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