Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 94.86 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009752/0.0009752, allocations: 181.8 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002341/0.0002341, allocations: 5.625 kB / 300.7 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08702, allocations: 50.42 MB / 351.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002604/0.08965, allocations: 2.44 MB / 353.6 MB, free: 9.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.09124, allocations: 1.115 MB / 354.7 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.09139, allocations: 7.938 kB / 354.7 MB, free: 8.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.09175, allocations: 119.4 kB / 354.8 MB, free: 8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.09213, allocations: 183.5 kB / 355 MB, free: 7.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.09249, allocations: 131.7 kB / 355.1 MB, free: 7.691 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.09287, allocations: 295.2 kB / 355.4 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.09305, allocations: 93.52 kB / 355.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.09324, allocations: 147.5 kB / 355.6 MB, free: 7.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.09346, allocations: 151.3 kB / 355.8 MB, free: 7.012 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.09351, allocations: 16 kB / 355.8 MB, free: 6.996 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.09362, allocations: 35.92 kB / 355.8 MB, free: 6.961 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.06e-05/0.09372, allocations: 63.75 kB / 355.9 MB, free: 6.898 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.211e-05/0.09382, allocations: 93.52 kB / 356 MB, free: 6.801 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.09413, allocations: 311.1 kB / 356.3 MB, free: 6.496 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.09414, allocations: 0 / 356.3 MB, free: 6.496 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.09415, allocations: 0 / 356.3 MB, free: 6.496 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.09417, allocations: 4 kB / 356.3 MB, free: 6.492 MB / 286.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.0009385/0.09511, allocations: 0.6127 MB / 356.9 MB, free: 5.832 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.09517, allocations: 8.031 kB / 356.9 MB, free: 5.824 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.35e-05/0.09527, allocations: 39.53 kB / 357 MB, free: 5.785 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.09566, allocations: 298.9 kB / 357.3 MB, free: 5.457 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.0957, allocations: 20.55 kB / 357.3 MB, free: 5.438 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/0.09576, allocations: 28 kB / 357.3 MB, free: 5.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.09624, allocations: 283.1 kB / 357.6 MB, free: 5.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.09628, allocations: 11.97 kB / 357.6 MB, free: 5.098 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.09632, allocations: 15.95 kB / 357.6 MB, free: 5.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.09634, allocations: 8 kB / 357.6 MB, free: 5.074 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.09671, allocations: 174.1 kB / 357.8 MB, free: 4.906 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.09803, allocations: 0.8404 MB / 358.6 MB, free: 4 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.09856, allocations: 263.3 kB / 358.9 MB, free: 3.734 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.09861, allocations: 8.219 kB / 358.9 MB, free: 3.727 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.09892, allocations: 165.7 kB / 359 MB, free: 3.555 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.09893, allocations: 0 / 359 MB, free: 3.555 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002347/0.1013, allocations: 1.297 MB / 360.3 MB, free: 2.148 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/0.1014, allocations: 187.9 kB / 360.5 MB, free: 1.922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.1017, allocations: 312.5 kB / 360.8 MB, free: 1.602 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.1017, allocations: 37.7 kB / 360.9 MB, free: 1.559 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.1019, allocations: 188.6 kB / 361.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.102, allocations: 138 kB / 361.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.102, allocations: 4 kB / 361.2 MB, free: 1.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1021, allocations: 350.8 kB / 361.5 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1023, allocations: 88.84 kB / 361.6 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.1026, allocations: 177.3 kB / 361.8 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.1028, allocations: 113.6 kB / 361.9 MB, free: 488 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1028, allocations: 0 / 361.9 MB, free: 488 kB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005531/0.1033, allocations: 350.9 kB / 362.2 MB, free: 128 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1034, allocations: 4 kB / 362.3 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1034, allocations: 4 kB / 362.3 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001226/0.1035, allocations: 16.86 kB / 362.3 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.1038, allocations: 87.89 kB / 362.4 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.1049, allocations: 1.3 MB / 363.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.1051, allocations: 8 kB / 363.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.1051, allocations: 19.95 kB / 363.7 MB, free: 14.55 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.000196/0.1054, allocations: 177.9 kB / 363.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.1054, allocations: 35.62 kB / 363.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.1055, allocations: 39.88 kB / 363.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1055, allocations: 4 kB / 363.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1055, allocations: 0 / 363.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006637/0.1062, allocations: 0.658 MB / 364.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.1074, allocations: 0.8368 MB / 365.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1074, allocations: 0 / 365.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.1077, allocations: 75.91 kB / 365.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.1077, allocations: 4 kB / 365.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.1078, allocations: 19.88 kB / 365.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1078, allocations: 8.062 kB / 365.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1078, allocations: 128 / 365.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007286/0.1085, allocations: 0.5953 MB / 366.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.1087, allocations: 136.7 kB / 366.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.1087, allocations: 12 kB / 366.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1089, allocations: 16 kB / 366.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.109, allocations: 31.91 kB / 366.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.109, allocations: 15.94 kB / 366.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.1093, allocations: 227.1 kB / 366.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1093, allocations: 0 / 366.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000388/0.1097, allocations: 95.98 kB / 366.7 MB, free: 11.32 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.0008671/0.1106, allocations: 417.5 kB / 367.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006095/0.1112, allocations: 366.2 kB / 367.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.1112, allocations: 8.188 kB / 367.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.1114, allocations: 135.8 kB / 367.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.1119, allocations: 81.77 kB / 367.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.1135, allocations: 1.229 MB / 368.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.1139, allocations: 0.8119 MB / 369.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.114, allocations: 46.94 kB / 369.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.1141, allocations: 31.44 kB / 369.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1141, allocations: 0 / 369.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of Templates: time 0.008241/0.1224, allocations: 4.605 MB / 374.4 MB, free: 3.773 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches