Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008729/0.0008729, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007332/0.0007334, allocations: 90.28 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002735, allocations: 16 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2089, allocations: 47.58 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003138/0.212, allocations: 2.545 MB / 377.1 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.2139, allocations: 1.063 MB / 378.2 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.2142, allocations: 8 kB / 378.2 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.2147, allocations: 139.1 kB / 378.3 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.2151, allocations: 151.8 kB / 378.5 MB, free: 42.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.2155, allocations: 124.3 kB / 378.6 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005359/0.216, allocations: 392.4 kB / 379 MB, free: 42.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.2162, allocations: 81.47 kB / 379 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.2166, allocations: 156 kB / 379.2 MB, free: 41.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.2168, allocations: 172 kB / 379.4 MB, free: 41.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.2169, allocations: 16.75 kB / 379.4 MB, free: 41.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.2171, allocations: 60.03 kB / 379.4 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.2171, allocations: 67.28 kB / 379.5 MB, free: 41.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.999e-05/0.2172, allocations: 96.23 kB / 379.6 MB, free: 41.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.2175, allocations: 329.2 kB / 379.9 MB, free: 41.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2176, allocations: 0 / 379.9 MB, free: 41.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2176, allocations: 0 / 379.9 MB, free: 41.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.2176, allocations: 0 / 379.9 MB, free: 41.47 MB / 298.7 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.0008787/0.2185, allocations: 0.6327 MB / 380.5 MB, free: 40.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.2185, allocations: 9.281 kB / 380.6 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.2186, allocations: 46.11 kB / 380.6 MB, free: 40.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.219, allocations: 303.5 kB / 380.9 MB, free: 40.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.219, allocations: 19.03 kB / 380.9 MB, free: 40.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.2191, allocations: 31.69 kB / 380.9 MB, free: 40.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.2196, allocations: 290.3 kB / 381.2 MB, free: 40.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.2196, allocations: 5.25 kB / 381.2 MB, free: 40.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.2196, allocations: 15.52 kB / 381.2 MB, free: 40.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2197, allocations: 5.906 kB / 381.3 MB, free: 40.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.22, allocations: 175.3 kB / 381.4 MB, free: 40.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.2212, allocations: 0.8508 MB / 382.3 MB, free: 39.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.2218, allocations: 256.2 kB / 382.5 MB, free: 39.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.2219, allocations: 103.2 kB / 382.6 MB, free: 39.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.222, allocations: 7.203 kB / 382.6 MB, free: 39.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.2223, allocations: 160.2 kB / 382.8 MB, free: 39.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.2223, allocations: 5.125 kB / 382.8 MB, free: 39.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001995/0.2243, allocations: 1.313 MB / 384.1 MB, free: 38.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.2244, allocations: 193.2 kB / 384.3 MB, free: 38.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.2247, allocations: 354.9 kB / 384.6 MB, free: 37.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.2247, allocations: 33.45 kB / 384.7 MB, free: 37.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.2248, allocations: 182.2 kB / 384.9 MB, free: 37.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.547e-05/0.2249, allocations: 146.1 kB / 385 MB, free: 37.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.2249, allocations: 6.25 kB / 385 MB, free: 37.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.225, allocations: 347.9 kB / 385.3 MB, free: 37.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.2252, allocations: 87.03 kB / 385.4 MB, free: 37.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.2254, allocations: 177.6 kB / 385.6 MB, free: 36.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.2256, allocations: 112.4 kB / 385.7 MB, free: 36.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2256, allocations: 3.953 kB / 385.7 MB, free: 36.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006968/0.2263, allocations: 356.4 kB / 386.1 MB, free: 36.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2264, allocations: 6.969 kB / 386.1 MB, free: 36.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2264, allocations: 1.125 kB / 386.1 MB, free: 36.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.039e-05/0.2265, allocations: 22.58 kB / 386.1 MB, free: 36.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.2268, allocations: 86.83 kB / 386.2 MB, free: 36.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007565/0.2276, allocations: 1.297 MB / 387.5 MB, free: 35.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.2278, allocations: 13.09 kB / 387.5 MB, free: 35.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.2278, allocations: 11.66 kB / 387.5 MB, free: 35.33 MB / 298.7 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.228, allocations: 177.8 kB / 387.7 MB, free: 35.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.2281, allocations: 43.66 kB / 387.7 MB, free: 35.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.887e-05/0.2281, allocations: 47.89 kB / 387.8 MB, free: 35.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2282, allocations: 4 kB / 387.8 MB, free: 35.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2282, allocations: 0 / 387.8 MB, free: 35.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004345/0.2286, allocations: 0.657 MB / 388.4 MB, free: 34.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000993/0.2296, allocations: 0.8484 MB / 389.3 MB, free: 33.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2296, allocations: 4 kB / 389.3 MB, free: 33.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.2299, allocations: 75.91 kB / 389.3 MB, free: 33.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2299, allocations: 0 / 389.3 MB, free: 33.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.23, allocations: 11.98 kB / 389.4 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.23, allocations: 7.938 kB / 389.4 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.23, allocations: 3.953 kB / 389.4 MB, free: 33.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006061/0.2306, allocations: 0.5342 MB / 389.9 MB, free: 32.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.2307, allocations: 140.7 kB / 390 MB, free: 32.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.2308, allocations: 12 kB / 390.1 MB, free: 32.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.231, allocations: 19.98 kB / 390.1 MB, free: 32.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.231, allocations: 31.86 kB / 390.1 MB, free: 32.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.2311, allocations: 12 kB / 390.1 MB, free: 32.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001854/0.2313, allocations: 251 kB / 390.4 MB, free: 32.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2313, allocations: 3.938 kB / 390.4 MB, free: 32.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003562/0.2316, allocations: 99.98 kB / 390.5 MB, free: 32.12 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007251/0.2324, allocations: 427.1 kB / 390.9 MB, free: 31.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005073/0.2329, allocations: 358.4 kB / 391.2 MB, free: 31.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2329, allocations: 7.938 kB / 391.2 MB, free: 31.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.2331, allocations: 135.6 kB / 391.4 MB, free: 31.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.2336, allocations: 91.38 kB / 391.5 MB, free: 31.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.235, allocations: 1.289 MB / 392.8 MB, free: 29.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.2352, allocations: 0.8002 MB / 393.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.427e-05/0.2353, allocations: 39.42 kB / 393.6 MB, free: 28.94 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2353, allocations: 0 / 393.6 MB, free: 28.94 MB / 298.7 MB Notification: Performance of Templates: time 0.006173/0.2414, allocations: 5.671 MB / 399.3 MB, free: 23.26 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches