Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 115.6 kB / 17.98 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.1 MB, free: 9.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 59.84 kB / 307.1 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1062, allocations: 50.54 MB / 357.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.0062/0.1124, allocations: 3.053 MB / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.1158, allocations: 1.399 MB / 362.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.1162, allocations: 4 kB / 362.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006963/0.117, allocations: 127.4 kB / 362.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008211/0.1178, allocations: 191 kB / 362.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.1184, allocations: 115.8 kB / 362.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008598/0.1192, allocations: 438 kB / 363 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.1196, allocations: 107.8 kB / 363.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003768/0.1199, allocations: 175.3 kB / 363.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.1204, allocations: 191.1 kB / 363.4 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.1205, allocations: 28 kB / 363.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.1207, allocations: 63.98 kB / 363.5 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1209, allocations: 83.67 kB / 363.6 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.1212, allocations: 191 kB / 363.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005284/0.1217, allocations: 339.5 kB / 364.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1217, allocations: 8 kB / 364.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1218, allocations: 0 / 364.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.1218, allocations: 0 / 364.1 MB, free: 7.68 MB / 302.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.001307/0.1231, allocations: 0.6828 MB / 364.8 MB, free: 6.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1232, allocations: 12.03 kB / 364.8 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.1233, allocations: 44.47 kB / 364.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/0.1239, allocations: 316.5 kB / 365.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.1239, allocations: 20.94 kB / 365.2 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.124, allocations: 32.03 kB / 365.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006628/0.1247, allocations: 291.1 kB / 365.5 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.1247, allocations: 4 kB / 365.5 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.1248, allocations: 15.98 kB / 365.5 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1248, allocations: 8 kB / 365.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.1252, allocations: 174.1 kB / 365.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.1267, allocations: 0.8444 MB / 366.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.1272, allocations: 256.1 kB / 366.8 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.1274, allocations: 105.4 kB / 366.9 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.1275, allocations: 4.281 kB / 366.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003495/0.1278, allocations: 162.6 kB / 367.1 MB, free: 4.543 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.943e-06/0.1278, allocations: 0 / 367.1 MB, free: 4.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002394/0.1302, allocations: 1.308 MB / 368.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/0.1304, allocations: 191.9 kB / 368.5 MB, free: 2.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.1307, allocations: 340.5 kB / 368.9 MB, free: 2.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.1308, allocations: 33.69 kB / 368.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.1309, allocations: 188.6 kB / 369.1 MB, free: 2.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.1311, allocations: 137.9 kB / 369.2 MB, free: 2.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.1312, allocations: 70.14 kB / 369.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1313, allocations: 346.8 kB / 369.6 MB, free: 1.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.1315, allocations: 92.83 kB / 369.7 MB, free: 1.676 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.1318, allocations: 185.2 kB / 369.9 MB, free: 1.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.1322, allocations: 254.1 kB / 370.2 MB, free: 1.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1322, allocations: 0 / 370.2 MB, free: 1.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005686/0.1327, allocations: 346.5 kB / 370.5 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1328, allocations: 4 kB / 370.5 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1328, allocations: 4 kB / 370.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.435e-05/0.1329, allocations: 24.78 kB / 370.5 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.1332, allocations: 92.02 kB / 370.6 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1581/0.2914, allocations: 1.378 MB / 372 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.2917, allocations: 16.44 kB / 372 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.2918, allocations: 16.12 kB / 372 MB, free: 19.02 MB / 302.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.0002358/0.292, allocations: 167 kB / 372.2 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2921, allocations: 48.88 kB / 372.2 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.983e-05/0.2922, allocations: 46.25 kB / 372.3 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2922, allocations: 4.375 kB / 372.3 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2922, allocations: 1.156 kB / 372.3 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005965/0.2928, allocations: 0.6558 MB / 372.9 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.2941, allocations: 0.8501 MB / 373.8 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.2941, allocations: 4.375 kB / 373.8 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.2945, allocations: 79.44 kB / 373.9 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2945, allocations: 2.312 kB / 373.9 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.2945, allocations: 9.359 kB / 373.9 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2945, allocations: 2.797 kB / 373.9 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.2945, allocations: 5.5 kB / 373.9 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.2953, allocations: 0.5479 MB / 374.4 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.2955, allocations: 135.8 kB / 374.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/0.2956, allocations: 9.797 kB / 374.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.2958, allocations: 20.81 kB / 374.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.2959, allocations: 28.36 kB / 374.6 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.296, allocations: 14.86 kB / 374.6 MB, free: 17.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003139/0.2963, allocations: 241.6 kB / 374.9 MB, free: 17.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2963, allocations: 0 / 374.9 MB, free: 17.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000496/0.2968, allocations: 91.36 kB / 375 MB, free: 17.65 MB / 302.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.001002/0.2978, allocations: 426.1 kB / 375.4 MB, free: 17.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00081/0.2986, allocations: 382.7 kB / 375.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.2986, allocations: 0.6875 kB / 375.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.2989, allocations: 135 kB / 375.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.2996, allocations: 100.8 kB / 376 MB, free: 17.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.3014, allocations: 1.188 MB / 377.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3017, allocations: 0.8074 MB / 378 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.3018, allocations: 40.16 kB / 378 MB, free: 15.72 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3018, allocations: 0 / 378 MB, free: 15.72 MB / 302.1 MB Notification: Performance of Templates: time 0.01141/0.3132, allocations: 5.739 MB / 383.8 MB, free: 14.86 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches