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.001481/0.001481, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001745/0.001745, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 55.66 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.09732, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004358/0.1017, allocations: 3 MB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.1041, allocations: 1.414 MB / 363.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1042, allocations: 11.88 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.1047, allocations: 143.2 kB / 363.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004938/0.1052, allocations: 214.7 kB / 363.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.1056, allocations: 139.6 kB / 363.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.1061, allocations: 446 kB / 364.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.1063, allocations: 107.8 kB / 364.4 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.1065, allocations: 175.3 kB / 364.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.1068, allocations: 195.1 kB / 364.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.1068, allocations: 32 kB / 364.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.107, allocations: 56 kB / 364.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.978e-05/0.1071, allocations: 79.67 kB / 364.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.1072, allocations: 191 kB / 365.1 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.1077, allocations: 454.4 kB / 365.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1077, allocations: 0 / 365.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1077, allocations: 0 / 365.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.1077, allocations: 0 / 365.5 MB, free: 6.715 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.0009955/0.1087, allocations: 0.679 MB / 366.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1088, allocations: 12.03 kB / 366.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.1088, allocations: 44.47 kB / 366.2 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.1093, allocations: 320.5 kB / 366.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.1093, allocations: 16.94 kB / 366.6 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.672e-05/0.1094, allocations: 39.95 kB / 366.6 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.1098, allocations: 291.1 kB / 366.9 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1099, allocations: 0 / 366.9 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.1099, allocations: 19.92 kB / 366.9 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1099, allocations: 4 kB / 366.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.1103, allocations: 178.1 kB / 367.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.1115, allocations: 0.8405 MB / 367.9 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.1121, allocations: 255.5 kB / 368.2 MB, free: 3.855 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.1122, allocations: 101.3 kB / 368.3 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.1123, allocations: 4.281 kB / 368.3 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.1126, allocations: 166.6 kB / 368.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.1126, allocations: 3.938 kB / 368.5 MB, free: 3.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002225/0.1148, allocations: 1.312 MB / 369.8 MB, free: 2.148 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.1149, allocations: 187.9 kB / 369.9 MB, free: 1.922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.1152, allocations: 336.5 kB / 370.3 MB, free: 1.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.1153, allocations: 33.7 kB / 370.3 MB, free: 1.547 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.1154, allocations: 188.6 kB / 370.5 MB, free: 1.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.1155, allocations: 141.9 kB / 370.6 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/0.1156, allocations: 70.14 kB / 370.7 MB, free: 1.141 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1158, allocations: 346.8 kB / 371 MB, free: 0.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.116, allocations: 92.83 kB / 371.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.1162, allocations: 185.2 kB / 371.3 MB, free: 496 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.1166, allocations: 246.2 kB / 371.6 MB, free: 236 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1166, allocations: 4 kB / 371.6 MB, free: 232 kB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.1774/0.2941, allocations: 347.8 kB / 371.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.2941, allocations: 6.562 kB / 371.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2942, allocations: 1.422 kB / 371.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.2943, allocations: 19.97 kB / 371.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.2947, allocations: 88.12 kB / 372 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009571/0.2956, allocations: 1.388 MB / 373.4 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.2959, allocations: 13.36 kB / 373.4 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.296, allocations: 12.42 kB / 373.4 MB, free: 18.85 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.0002203/0.2962, allocations: 165 kB / 373.6 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.2963, allocations: 38.45 kB / 373.6 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.557e-05/0.2964, allocations: 45.83 kB / 373.7 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2964, allocations: 7.719 kB / 373.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2964, allocations: 1.906 kB / 373.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005623/0.297, allocations: 0.6686 MB / 374.3 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.2982, allocations: 0.8456 MB / 375.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2982, allocations: 1.219 kB / 375.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.2986, allocations: 77.91 kB / 375.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.2986, allocations: 5.047 kB / 375.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.2986, allocations: 9.438 kB / 375.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.2986, allocations: 4.125 kB / 375.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2986, allocations: 4.25 kB / 375.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000752/0.2994, allocations: 0.5554 MB / 375.8 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.2995, allocations: 131.7 kB / 376 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.2996, allocations: 14.59 kB / 376 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.2998, allocations: 14.52 kB / 376 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.2999, allocations: 25.59 kB / 376 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.3, allocations: 20.22 kB / 376 MB, free: 17.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002604/0.3002, allocations: 241.9 kB / 376.3 MB, free: 17.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3002, allocations: 0 / 376.3 MB, free: 17.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004446/0.3007, allocations: 93.17 kB / 376.4 MB, free: 17.39 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.0009621/0.3017, allocations: 428.9 kB / 376.8 MB, free: 17.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006271/0.3023, allocations: 373.4 kB / 377.2 MB, free: 17.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3023, allocations: 1.375 kB / 377.2 MB, free: 17.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.3025, allocations: 135.4 kB / 377.3 MB, free: 17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.3031, allocations: 92.27 kB / 377.4 MB, free: 16.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.3047, allocations: 1.028 MB / 378.4 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.305, allocations: 0.8019 MB / 379.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.3051, allocations: 51.83 kB / 379.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.3052, allocations: 34.55 kB / 379.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3052, allocations: 0 / 379.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of Templates: time 0.01159/0.3168, allocations: 5.276 MB / 384.6 MB, free: 15.1 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 -s cvode -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