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.001582/0.001582, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001895/0.001896, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.396/1.396, allocations: 222.9 MB / 241.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 39.94 kB / 300.6 MB, free: 6.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.09739, allocations: 49.45 MB / 350.1 MB, free: 4.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004276/0.1017, allocations: 3.048 MB / 353.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.1038, allocations: 1.239 MB / 354.3 MB, free: 308 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.1039, allocations: 7.938 kB / 354.3 MB, free: 300 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000475/0.1044, allocations: 131.4 kB / 354.5 MB, free: 168 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.1049, allocations: 151.2 kB / 354.6 MB, free: 16 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.1053, allocations: 150 kB / 354.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.1057, allocations: 406.2 kB / 355.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.1059, allocations: 98.78 kB / 355.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.1061, allocations: 163.2 kB / 355.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1063, allocations: 175.2 kB / 355.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.1064, allocations: 20 kB / 355.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1065, allocations: 51.98 kB / 355.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.163e-05/0.1066, allocations: 75.62 kB / 355.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.1068, allocations: 175 kB / 355.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.1071, allocations: 331.5 kB / 356.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1071, allocations: 0 / 356.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1071, allocations: 0 / 356.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1071, allocations: 0 / 356.2 MB, free: 14.4 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.001046/0.1082, allocations: 0.6752 MB / 356.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1082, allocations: 8.031 kB / 356.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.144e-05/0.1083, allocations: 48.38 kB / 357 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.1087, allocations: 319.8 kB / 357.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.1087, allocations: 24.88 kB / 357.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.1088, allocations: 28.12 kB / 357.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.1093, allocations: 295.1 kB / 357.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1093, allocations: 0 / 357.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.1094, allocations: 12 kB / 357.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1094, allocations: 4 kB / 357.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.1097, allocations: 186.1 kB / 357.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.111, allocations: 0.8366 MB / 358.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.1116, allocations: 259.5 kB / 358.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.1118, allocations: 101.3 kB / 359 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.1118, allocations: 8.266 kB / 359 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003739/0.1122, allocations: 166.6 kB / 359.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.1122, allocations: 0 / 359.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002354/0.1146, allocations: 1.313 MB / 360.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.1147, allocations: 183.9 kB / 360.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.115, allocations: 328.5 kB / 361 MB, free: 9.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.1151, allocations: 33.7 kB / 361 MB, free: 9.254 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1152, allocations: 184.6 kB / 361.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.1153, allocations: 141.9 kB / 361.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.1155, allocations: 70.14 kB / 361.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1156, allocations: 346.8 kB / 361.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.1158, allocations: 92.83 kB / 361.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.1161, allocations: 177.2 kB / 362 MB, free: 8.211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.1164, allocations: 254.2 kB / 362.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1165, allocations: 0 / 362.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005453/0.117, allocations: 354.2 kB / 362.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.117, allocations: 7.984 kB / 362.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.117, allocations: 0 / 362.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-05/0.1172, allocations: 24.98 kB / 362.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.1175, allocations: 87.89 kB / 362.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.1186, allocations: 1.288 MB / 364 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.1189, allocations: 19.89 kB / 364 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.1189, allocations: 16 kB / 364 MB, free: 6.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.0002086/0.1191, allocations: 169.6 kB / 364.2 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.1192, allocations: 31.69 kB / 364.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-05/0.1193, allocations: 51.88 kB / 364.3 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1193, allocations: 4 kB / 364.3 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1193, allocations: 4.094 kB / 364.3 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006704/0.12, allocations: 0.6611 MB / 365 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1212, allocations: 0.8446 MB / 365.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1212, allocations: 4.125 kB / 365.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.1215, allocations: 79.83 kB / 365.9 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.1215, allocations: 4 kB / 365.9 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.1216, allocations: 15.94 kB / 365.9 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.1216, allocations: 0 / 365.9 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1216, allocations: 4 kB / 365.9 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007608/0.1223, allocations: 0.5379 MB / 366.4 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.1225, allocations: 132.7 kB / 366.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.1225, allocations: 16 kB / 366.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.1228, allocations: 15.92 kB / 366.6 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.1228, allocations: 23.97 kB / 366.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.1229, allocations: 20 kB / 366.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.1231, allocations: 235 kB / 366.9 MB, free: 2.945 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1231, allocations: 0 / 366.9 MB, free: 2.945 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.1236, allocations: 107.9 kB / 367 MB, free: 2.84 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.001044/0.1246, allocations: 425.4 kB / 367.4 MB, free: 2.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006723/0.1253, allocations: 362.6 kB / 367.8 MB, free: 2.211 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1253, allocations: 0 / 367.8 MB, free: 2.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.1255, allocations: 139.6 kB / 367.9 MB, free: 2.074 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.1261, allocations: 92.95 kB / 368 MB, free: 1.984 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1279, allocations: 1.168 MB / 369.2 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1633/0.2913, allocations: 0.7988 MB / 369.9 MB, free: 24.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.2915, allocations: 36.88 kB / 370 MB, free: 24.7 MB / 302.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2915, allocations: 0 / 370 MB, free: 24.7 MB / 302.1 MB Notification: Performance of Templates: time 0.01138/0.3029, allocations: 5.669 MB / 375.7 MB, free: 24.39 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/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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches