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.001198/0.001198, allocations: 117.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.4 MB, free: 9.074 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 60.58 kB / 306.4 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0958/0.09693, allocations: 50.52 MB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004312/0.1013, allocations: 3.053 MB / 360 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.1035, allocations: 1.406 MB / 361.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.1036, allocations: 11.94 kB / 361.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.1041, allocations: 119.5 kB / 361.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004866/0.1046, allocations: 187.1 kB / 361.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1049, allocations: 119.8 kB / 361.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004878/0.1054, allocations: 438 kB / 362.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.1056, allocations: 103.8 kB / 362.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.1058, allocations: 175.3 kB / 362.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.106, allocations: 199.1 kB / 362.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.1061, allocations: 28 kB / 362.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1062, allocations: 71.91 kB / 362.8 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.1063, allocations: 75.7 kB / 362.9 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.1065, allocations: 191 kB / 363.1 MB, free: 8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.1069, allocations: 442.7 kB / 363.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1069, allocations: 0 / 363.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.107, allocations: 0 / 363.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.107, allocations: 3.938 kB / 363.5 MB, free: 7.562 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.0009674/0.1079, allocations: 0.679 MB / 364.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.108, allocations: 8.031 kB / 364.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.205e-05/0.1081, allocations: 44.47 kB / 364.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.1085, allocations: 316.5 kB / 364.6 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.1085, allocations: 20.94 kB / 364.6 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.1086, allocations: 36.02 kB / 364.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.1091, allocations: 295.1 kB / 364.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.1091, allocations: 0 / 364.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.1092, allocations: 15.98 kB / 364.9 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1092, allocations: 4 kB / 364.9 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.1095, allocations: 174.2 kB / 365.1 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.1109, allocations: 0.8483 MB / 366 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.1115, allocations: 259.4 kB / 366.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.1116, allocations: 101.4 kB / 366.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.1117, allocations: 4.281 kB / 366.3 MB, free: 4.598 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.1121, allocations: 170.6 kB / 366.5 MB, free: 4.422 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.1121, allocations: 0 / 366.5 MB, free: 4.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002314/0.1144, allocations: 1.304 MB / 367.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.1146, allocations: 183.9 kB / 368 MB, free: 2.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.1149, allocations: 344.4 kB / 368.3 MB, free: 2.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.115, allocations: 41.64 kB / 368.3 MB, free: 2.395 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.1151, allocations: 180.6 kB / 368.5 MB, free: 2.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.1153, allocations: 141.9 kB / 368.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1154, allocations: 78.14 kB / 368.7 MB, free: 1.988 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1156, allocations: 346.8 kB / 369.1 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.1158, allocations: 92.83 kB / 369.2 MB, free: 1.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.116, allocations: 173.3 kB / 369.3 MB, free: 1.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.1164, allocations: 254.2 kB / 369.6 MB, free: 1.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1164, allocations: 0 / 369.6 MB, free: 1.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005708/0.117, allocations: 350.5 kB / 369.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.117, allocations: 12.03 kB / 369.9 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.117, allocations: 3.938 kB / 369.9 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.69e-05/0.1171, allocations: 16.86 kB / 370 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.1175, allocations: 87.89 kB / 370 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1696/0.287, allocations: 1.382 MB / 371.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.2874, allocations: 19.92 kB / 371.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.2874, allocations: 10.12 kB / 371.5 MB, free: 19.5 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.000239/0.2876, allocations: 165.2 kB / 371.6 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.2877, allocations: 42.31 kB / 371.7 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.801e-05/0.2878, allocations: 49.27 kB / 371.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.2878, allocations: 4.062 kB / 371.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2878, allocations: 0.6562 kB / 371.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000552/0.2884, allocations: 0.6568 MB / 372.4 MB, free: 18.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.2896, allocations: 0.8511 MB / 373.2 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2897, allocations: 1.125 kB / 373.2 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.29, allocations: 78.22 kB / 373.3 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.29, allocations: 6.625 kB / 373.3 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.29, allocations: 8.969 kB / 373.3 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.2901, allocations: 3.75 kB / 373.3 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2901, allocations: 8.234 kB / 373.3 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007361/0.2908, allocations: 0.5489 MB / 373.9 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.2909, allocations: 132.4 kB / 374 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.291, allocations: 12.91 kB / 374 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.2912, allocations: 13.7 kB / 374 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.2913, allocations: 32.8 kB / 374.1 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.2913, allocations: 20.45 kB / 374.1 MB, free: 17.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.2916, allocations: 241.4 kB / 374.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2916, allocations: 1.219 kB / 374.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004297/0.2921, allocations: 89.86 kB / 374.4 MB, free: 17.79 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.0009478/0.293, allocations: 426.6 kB / 374.8 MB, free: 17.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006856/0.2937, allocations: 384.7 kB / 375.2 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2937, allocations: 0.7812 kB / 375.2 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.294, allocations: 134.3 kB / 375.3 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.2946, allocations: 103 kB / 375.4 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.2962, allocations: 1.166 MB / 376.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.2965, allocations: 0.81 MB / 377.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002158/0.2967, allocations: 44.3 kB / 377.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.678e-05/0.2968, allocations: 35.62 kB / 377.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2968, allocations: 0 / 377.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Templates: time 0.01245/0.3093, allocations: 5.226 MB / 382.7 MB, free: 15.39 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches