Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000799/0.0007993, allocations: 97.19 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00092/0.0009199, allocations: 190.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.7 MB / 246.4 MB, free: 11.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002142/0.0002143, allocations: 8 kB / 307.1 MB, free: 1.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.087, allocations: 51.52 MB / 358.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.177/0.2641, allocations: 24.66 MB / 383.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02147/0.2856, allocations: 22.88 MB / 406.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.2861, allocations: 7.188 kB / 406.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007185/0.2868, allocations: 216.8 kB / 406.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007655/0.2876, allocations: 349.7 kB / 406.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009658/0.2972, allocations: 3.013 MB / 409.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.2987, allocations: 1.17 MB / 410.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.2989, allocations: 81.48 kB / 411 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.2995, allocations: 339.5 kB / 411.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.2998, allocations: 296.4 kB / 411.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.2999, allocations: 17.31 kB / 411.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0513/0.3512, allocations: 40.22 MB / 451.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.3515, allocations: 83.7 kB / 451.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.3518, allocations: 105.6 kB / 452 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02306/0.3748, allocations: 10.69 MB / 462.7 MB, free: 2.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3749, allocations: 0 / 462.7 MB, free: 2.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3749, allocations: 0 / 462.7 MB, free: 2.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3749, allocations: 4 kB / 462.7 MB, free: 2.09 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.005396/0.3803, allocations: 1.057 MB / 463.8 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.3803, allocations: 8.031 kB / 463.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004818/0.3808, allocations: 63.59 kB / 463.8 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.3812, allocations: 318.9 kB / 464.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.3813, allocations: 20.66 kB / 464.2 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.3813, allocations: 36 kB / 464.2 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.3822, allocations: 459.8 kB / 464.7 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3822, allocations: 4.812 kB / 464.7 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.3822, allocations: 20 kB / 464.7 MB, free: 0 / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.3823, allocations: 12.05 kB / 464.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000709/0.383, allocations: 386.3 kB / 465.1 MB, free: 15.61 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.3861, allocations: 2.943 MB / 468 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.3867, allocations: 302.7 kB / 468.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.3869, allocations: 128.8 kB / 468.4 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002148/0.389, allocations: 2.533 MB / 471 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.3891, allocations: 38.56 kB / 471 MB, free: 8.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.296e-06/0.3891, allocations: 0 / 471 MB, free: 8.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005049/0.3942, allocations: 1.294 MB / 472.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3942, allocations: 55.41 kB / 472.4 MB, free: 7.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.3945, allocations: 258.6 kB / 472.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.3945, allocations: 29.7 kB / 472.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3947, allocations: 192 kB / 472.8 MB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.679e-05/0.3948, allocations: 118.3 kB / 472.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.3948, allocations: 7.938 kB / 472.9 MB, free: 6.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3949, allocations: 346.8 kB / 473.3 MB, free: 6.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.3951, allocations: 112.8 kB / 473.4 MB, free: 6.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.3954, allocations: 226.7 kB / 473.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.3957, allocations: 156.4 kB / 473.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3957, allocations: 0 / 473.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008461/0.3965, allocations: 454.8 kB / 474.2 MB, free: 5.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3965, allocations: 7.953 kB / 474.2 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3966, allocations: 4 kB / 474.2 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004158/0.4007, allocations: 241.4 kB / 474.5 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.4011, allocations: 87.89 kB / 474.5 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.4024, allocations: 1.851 MB / 476.4 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.4027, allocations: 27.92 kB / 476.4 MB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.4028, allocations: 16 kB / 476.4 MB, free: 3.141 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.403, allocations: 165.8 kB / 476.6 MB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.403, allocations: 35.61 kB / 476.6 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.4041, allocations: 0.6967 MB / 477.3 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.4041, allocations: 11.98 kB / 477.3 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4041, allocations: 0 / 477.3 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008492/0.405, allocations: 0.8557 MB / 478.2 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.4066, allocations: 1.19 MB / 479.4 MB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4066, allocations: 0 / 479.4 MB, free: 20 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.4069, allocations: 63.91 kB / 479.5 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.4083, allocations: 188.5 kB / 479.6 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.4084, allocations: 4 kB / 479.6 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003905/0.4088, allocations: 0.5835 MB / 480.2 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4088, allocations: 0 / 480.2 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000951/0.4098, allocations: 0.7212 MB / 480.9 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.4099, allocations: 128.6 kB / 481.1 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.4099, allocations: 15.94 kB / 481.1 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.4102, allocations: 24.05 kB / 481.1 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.4102, allocations: 23.91 kB / 481.1 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.4103, allocations: 16.48 kB / 481.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002255/0.4105, allocations: 221.9 kB / 481.4 MB, free: 13.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4105, allocations: 0 / 481.4 MB, free: 13.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004337/0.4148, allocations: 0.7418 MB / 482.1 MB, free: 13.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.03451/0.4494, allocations: 6.385 MB / 488.5 MB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009246/0.4503, allocations: 489.9 kB / 489 MB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4503, allocations: 0 / 489 MB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.4507, allocations: 217.3 kB / 489.2 MB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4518, allocations: 191.7 kB / 489.4 MB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.4534, allocations: 1.077 MB / 490.4 MB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.4538, allocations: 0.8168 MB / 491.3 MB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004378/0.4542, allocations: 198.8 kB / 491.5 MB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.326e-05/0.4543, allocations: 35.44 kB / 491.5 MB, free: 3.766 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4543, allocations: 0 / 491.5 MB, free: 3.766 MB / 398.1 MB Notification: Performance of Templates: time 0.04257/0.4969, allocations: 28.24 MB / 0.5076 GB, free: 7.531 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches