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.00105/0.00105, allocations: 97.41 kB / 17 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001576, allocations: 201 kB / 17.91 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002642, allocations: 7.984 kB / 307.1 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08889/0.08919, allocations: 51.52 MB / 358.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003754/0.09299, allocations: 2.579 MB / 361.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.09536, allocations: 1.259 MB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003307/0.09571, allocations: 4 kB / 362.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.09629, allocations: 123.5 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000673/0.09698, allocations: 179 kB / 362.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.09738, allocations: 99.81 kB / 362.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006463/0.09804, allocations: 398.1 kB / 363.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.09826, allocations: 97.86 kB / 363.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.09852, allocations: 151.4 kB / 363.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.09881, allocations: 163.2 kB / 363.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.221e-05/0.09887, allocations: 20 kB / 363.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.09901, allocations: 43.98 kB / 363.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.263e-05/0.0991, allocations: 59.77 kB / 363.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.09922, allocations: 97.44 kB / 363.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.09959, allocations: 327.4 kB / 364.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.0996, allocations: 4 kB / 364.2 MB, free: 8.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09961, allocations: 0 / 364.2 MB, free: 8.066 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.09963, allocations: 0 / 364.2 MB, free: 8.066 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.0009363/0.1006, allocations: 0.6205 MB / 364.8 MB, free: 7.398 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1006, allocations: 12.03 kB / 364.8 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1007, allocations: 43.53 kB / 364.9 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.1011, allocations: 315.3 kB / 365.2 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.1012, allocations: 16.56 kB / 365.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.1012, allocations: 27.95 kB / 365.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.1017, allocations: 295.1 kB / 365.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1018, allocations: 0 / 365.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.1018, allocations: 12 kB / 365.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1018, allocations: 8 kB / 365.5 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.1022, allocations: 174.1 kB / 365.7 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.1035, allocations: 0.8405 MB / 366.5 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.104, allocations: 259.4 kB / 366.8 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.1042, allocations: 97.38 kB / 366.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.1042, allocations: 4.281 kB / 366.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.1046, allocations: 158.6 kB / 367 MB, free: 5.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.1046, allocations: 4 kB / 367 MB, free: 5.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002407/0.107, allocations: 1.309 MB / 368.4 MB, free: 3.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.1071, allocations: 195.8 kB / 368.5 MB, free: 3.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.1075, allocations: 332.5 kB / 368.9 MB, free: 3.027 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1075, allocations: 37.64 kB / 368.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1076, allocations: 184.6 kB / 369.1 MB, free: 2.797 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1078, allocations: 145.9 kB / 369.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.1078, allocations: 4 kB / 369.2 MB, free: 2.648 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1079, allocations: 350.7 kB / 369.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.1081, allocations: 88.84 kB / 369.7 MB, free: 2.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.1083, allocations: 177.3 kB / 369.8 MB, free: 2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.1086, allocations: 125.6 kB / 370 MB, free: 1.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1086, allocations: 0 / 370 MB, free: 1.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005515/0.1092, allocations: 342.9 kB / 370.3 MB, free: 1.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1092, allocations: 8 kB / 370.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.1092, allocations: 0 / 370.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.47e-05/0.1093, allocations: 24.81 kB / 370.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.1097, allocations: 88.02 kB / 370.4 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009608/0.1106, allocations: 1.284 MB / 371.7 MB, free: 0 / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.2631, allocations: 12.61 kB / 371.7 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-05/0.2631, allocations: 12.88 kB / 371.7 MB, free: 19.12 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 ($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.0002287/0.2634, allocations: 164.9 kB / 371.9 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.2634, allocations: 39.12 kB / 371.9 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.2636, allocations: 44.66 kB / 372 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.2636, allocations: 5.078 kB / 372 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2636, allocations: 2.688 kB / 372 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005759/0.2642, allocations: 0.6609 MB / 372.6 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2653, allocations: 0.8396 MB / 373.5 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2653, allocations: 4.375 kB / 373.5 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.2656, allocations: 76.62 kB / 373.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.974e-06/0.2656, allocations: 2.094 kB / 373.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.2657, allocations: 11.03 kB / 373.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.2657, allocations: 2.625 kB / 373.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2657, allocations: 8.406 kB / 373.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.2664, allocations: 0.5394 MB / 374.1 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.2665, allocations: 138.3 kB / 374.3 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.2666, allocations: 10.44 kB / 374.3 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.2668, allocations: 18.7 kB / 374.3 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.2669, allocations: 31.28 kB / 374.3 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.2669, allocations: 14.23 kB / 374.3 MB, free: 17.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002745/0.2672, allocations: 242.2 kB / 374.6 MB, free: 17.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2672, allocations: 2.969 kB / 374.6 MB, free: 17.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004388/0.2677, allocations: 92.45 kB / 374.7 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 (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.0009082/0.2686, allocations: 416.8 kB / 375.1 MB, free: 17.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006832/0.2693, allocations: 374.5 kB / 375.4 MB, free: 17.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.2693, allocations: 3.469 kB / 375.4 MB, free: 17.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.2696, allocations: 135 kB / 375.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.2701, allocations: 100.4 kB / 375.7 MB, free: 17.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.2716, allocations: 1.241 MB / 376.9 MB, free: 16.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.2719, allocations: 0.8041 MB / 377.7 MB, free: 16.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.2721, allocations: 42.88 kB / 377.7 MB, free: 16.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.548e-05/0.2722, allocations: 37.59 kB / 377.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2722, allocations: 5.312 kB / 377.8 MB, free: 16.04 MB / 302.1 MB Notification: Performance of Templates: time 0.009442/0.2816, allocations: 4.773 MB / 382.6 MB, free: 15.7 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