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/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_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_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.001018/0.001018, allocations: 187 kB / 17.92 MB, free: 3.855 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.179/1.179, allocations: 205.1 MB / 223.7 MB, free: 8.477 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.0008482/0.0008482, allocations: 100.3 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00083/0.0008302, allocations: 39.94 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.197, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00374/0.2008, allocations: 3.038 MB / 376.9 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.2023, allocations: 1.174 MB / 378 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.2025, allocations: 8.5 kB / 378 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.2029, allocations: 143.8 kB / 378.2 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.2033, allocations: 159.9 kB / 378.3 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.2036, allocations: 129.4 kB / 378.5 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.204, allocations: 423.6 kB / 378.9 MB, free: 41.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.2041, allocations: 98.95 kB / 379 MB, free: 41.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.2043, allocations: 159.7 kB / 379.1 MB, free: 41.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.2045, allocations: 197 kB / 379.3 MB, free: 41.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.2046, allocations: 20.19 kB / 379.3 MB, free: 41.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.2047, allocations: 58.92 kB / 379.4 MB, free: 41.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.787e-05/0.2048, allocations: 72.28 kB / 379.5 MB, free: 41.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.2049, allocations: 182.5 kB / 379.6 MB, free: 41.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.2053, allocations: 439.8 kB / 380.1 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2053, allocations: 0 / 380.1 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2053, allocations: 1.156 kB / 380.1 MB, free: 41.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2053, allocations: 0 / 380.1 MB, free: 41.21 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.0008471/0.2062, allocations: 0.6862 MB / 380.8 MB, free: 40.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2062, allocations: 9.188 kB / 380.8 MB, free: 40.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.306e-05/0.2063, allocations: 50.16 kB / 380.8 MB, free: 40.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.2066, allocations: 324.3 kB / 381.1 MB, free: 40.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.2066, allocations: 19 kB / 381.2 MB, free: 40.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.2067, allocations: 32.72 kB / 381.2 MB, free: 40.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.2071, allocations: 297.2 kB / 381.5 MB, free: 40.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.2071, allocations: 5.5 kB / 381.5 MB, free: 40.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.2071, allocations: 10.41 kB / 381.5 MB, free: 40.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.2072, allocations: 6.094 kB / 381.5 MB, free: 40.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.2075, allocations: 180.3 kB / 381.7 MB, free: 39.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.2085, allocations: 0.8483 MB / 382.5 MB, free: 39.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.209, allocations: 263.1 kB / 382.8 MB, free: 39.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.2091, allocations: 95.42 kB / 382.9 MB, free: 39.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.2092, allocations: 13.45 kB / 382.9 MB, free: 39.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.2094, allocations: 163.8 kB / 383 MB, free: 38.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.674e-06/0.2095, allocations: 1.188 kB / 383 MB, free: 38.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001865/0.2113, allocations: 1.315 MB / 384.4 MB, free: 37.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.2114, allocations: 184.5 kB / 384.5 MB, free: 37.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.2117, allocations: 354.2 kB / 384.9 MB, free: 37.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.2117, allocations: 37.06 kB / 384.9 MB, free: 37.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.2118, allocations: 185.5 kB / 385.1 MB, free: 37.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/0.2119, allocations: 138.9 kB / 385.2 MB, free: 37.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.212, allocations: 80.14 kB / 385.3 MB, free: 37.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.2121, allocations: 347.1 kB / 385.7 MB, free: 36.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.2122, allocations: 92.23 kB / 385.7 MB, free: 36.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.2124, allocations: 174.8 kB / 385.9 MB, free: 36.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.2128, allocations: 253.7 kB / 386.2 MB, free: 36.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2128, allocations: 0 / 386.2 MB, free: 36.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004804/0.2133, allocations: 358.4 kB / 386.5 MB, free: 36.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2133, allocations: 5.438 kB / 386.5 MB, free: 36.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2133, allocations: 5.109 kB / 386.5 MB, free: 36.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.806e-05/0.2134, allocations: 19.14 kB / 386.5 MB, free: 36.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.2137, allocations: 89.83 kB / 386.6 MB, free: 36.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006376/0.2143, allocations: 1.293 MB / 387.9 MB, free: 34.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.2145, allocations: 16.02 kB / 387.9 MB, free: 34.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.2145, allocations: 12 kB / 388 MB, free: 34.8 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 ($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.0001277/0.2147, allocations: 173.7 kB / 388.1 MB, free: 34.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.2147, allocations: 43.66 kB / 388.2 MB, free: 34.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.232e-05/0.2148, allocations: 43.95 kB / 388.2 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2148, allocations: 4 kB / 388.2 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2148, allocations: 4 kB / 388.2 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004117/0.2152, allocations: 0.6531 MB / 388.9 MB, free: 33.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008478/0.2161, allocations: 0.8601 MB / 389.7 MB, free: 32.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2161, allocations: 0 / 389.7 MB, free: 32.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.2164, allocations: 83.78 kB / 389.8 MB, free: 32.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2164, allocations: 0 / 389.8 MB, free: 32.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.2164, allocations: 8.062 kB / 389.8 MB, free: 32.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2164, allocations: 8 kB / 389.8 MB, free: 32.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2165, allocations: 4 kB / 389.8 MB, free: 32.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.2192, allocations: 2.586 MB / 392.4 MB, free: 29.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.2193, allocations: 136.7 kB / 392.6 MB, free: 29.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.2193, allocations: 12 kB / 392.6 MB, free: 29.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.2195, allocations: 15.98 kB / 392.6 MB, free: 29.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.2196, allocations: 27.91 kB / 392.6 MB, free: 29.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.2196, allocations: 12 kB / 392.6 MB, free: 29.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.2198, allocations: 259 kB / 392.9 MB, free: 29.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2198, allocations: 4 kB / 392.9 MB, free: 29.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004572/0.2202, allocations: 128 kB / 393 MB, free: 29.37 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 (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.0007364/0.221, allocations: 425.3 kB / 393.4 MB, free: 28.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004585/0.2215, allocations: 362.9 kB / 393.8 MB, free: 28.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2215, allocations: 12.19 kB / 393.8 MB, free: 28.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.2216, allocations: 131.8 kB / 393.9 MB, free: 28.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.2222, allocations: 88.61 kB / 394 MB, free: 28.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.2236, allocations: 1.409 MB / 395.4 MB, free: 26.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.2238, allocations: 0.8119 MB / 396.2 MB, free: 26.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.224, allocations: 55.23 kB / 396.3 MB, free: 26.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.2241, allocations: 39.44 kB / 396.3 MB, free: 25.99 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2241, allocations: 3.938 kB / 396.3 MB, free: 25.99 MB / 298.7 MB Notification: Performance of Templates: time 0.007799/0.2319, allocations: 5.57 MB / 401.9 MB, free: 20.41 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (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 & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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