Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009858/0.0009857, allocations: 96.25 kB / 16.93 MB, free: 5.984 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.000964/0.0009641, allocations: 180 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004351, allocations: 12 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.0953, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02423/0.1196, allocations: 22.54 MB / 350.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0233/0.143, allocations: 20.79 MB / 371.6 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.1434, allocations: 3.938 kB / 371.6 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007648/0.1442, allocations: 239 kB / 371.9 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005843/0.1448, allocations: 267.2 kB / 372.1 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01115/0.1559, allocations: 3.093 MB / 375.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.1571, allocations: 0.5311 MB / 375.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.1573, allocations: 77.03 kB / 375.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005666/0.1578, allocations: 295 kB / 376.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.1582, allocations: 187.3 kB / 376.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.1582, allocations: 23.94 kB / 376.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2289/0.3871, allocations: 53.56 MB / 429.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.3874, allocations: 79.78 kB / 430 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.3876, allocations: 108.9 kB / 430.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03478/0.4224, allocations: 10.64 MB / 440.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4225, allocations: 2.734 kB / 440.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4225, allocations: 4 kB / 440.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.4225, allocations: 0 / 440.7 MB, free: 5.57 MB / 350.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.00595/0.4284, allocations: 1.061 MB / 441.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.4285, allocations: 8.031 kB / 441.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005631/0.4291, allocations: 71.39 kB / 441.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.4295, allocations: 303.8 kB / 442.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.4295, allocations: 28.28 kB / 442.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.4296, allocations: 33.66 kB / 442.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008297/0.4304, allocations: 458.5 kB / 442.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4304, allocations: 3.609 kB / 442.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.4305, allocations: 14.69 kB / 442.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.4305, allocations: 8 kB / 442.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.4312, allocations: 382 kB / 443.1 MB, free: 3.5 MB / 350.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.003785/0.435, allocations: 2.963 MB / 446 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.4356, allocations: 285 kB / 446.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00241/0.4381, allocations: 2.55 MB / 448.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.4381, allocations: 30.56 kB / 448.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.4381, allocations: 0 / 448.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005012/0.4431, allocations: 1.294 MB / 450.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.4432, allocations: 59.41 kB / 450.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.4435, allocations: 261.9 kB / 450.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.4435, allocations: 36.2 kB / 450.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.4436, allocations: 184.2 kB / 450.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/0.4437, allocations: 117.5 kB / 450.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.4438, allocations: 12.75 kB / 450.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4439, allocations: 336.5 kB / 451.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.4441, allocations: 111.6 kB / 451.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.4444, allocations: 231 kB / 451.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.4446, allocations: 149.5 kB / 451.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4446, allocations: 0 / 451.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007757/0.4454, allocations: 462.2 kB / 452.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4455, allocations: 4.562 kB / 452.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4455, allocations: 4.438 kB / 452.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004345/0.4498, allocations: 245.6 kB / 452.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.4502, allocations: 87.66 kB / 452.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.4515, allocations: 1.853 MB / 454.3 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.4518, allocations: 38.27 kB / 454.3 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.4518, allocations: 22.92 kB / 454.3 MB, free: 8.555 MB / 366.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.000206/0.4521, allocations: 158.8 kB / 454.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.4521, allocations: 27.72 kB / 454.5 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009323/0.4531, allocations: 0.6928 MB / 455.2 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4531, allocations: 19.25 kB / 455.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.4531, allocations: 0 / 455.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007568/0.4539, allocations: 0.8647 MB / 456.1 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.4553, allocations: 1.189 MB / 457.3 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4553, allocations: 0 / 457.3 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.4555, allocations: 62.5 kB / 457.4 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/0.4571, allocations: 188.4 kB / 457.5 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.4571, allocations: 6.375 kB / 457.5 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003823/0.4575, allocations: 0.5715 MB / 458.1 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4575, allocations: 0 / 458.1 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008905/0.4584, allocations: 0.7433 MB / 458.9 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.4586, allocations: 119.7 kB / 459 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.4586, allocations: 11.19 kB / 459 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.4589, allocations: 14.34 kB / 459 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.4589, allocations: 29.89 kB / 459 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.459, allocations: 14.3 kB / 459 MB, free: 4.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.4592, allocations: 223.1 kB / 459.3 MB, free: 4.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4592, allocations: 0 / 459.3 MB, free: 4.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004364/0.4636, allocations: 0.7383 MB / 460 MB, free: 3.918 MB / 366.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.03698/0.5005, allocations: 6.39 MB / 466.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009799/0.5016, allocations: 486.2 kB / 466.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.5016, allocations: 4 kB / 466.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.502, allocations: 218.3 kB / 467.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.5032, allocations: 177.6 kB / 467.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.5049, allocations: 1.096 MB / 468.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.5053, allocations: 0.8129 MB / 469.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004475/0.5058, allocations: 192.5 kB / 469.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/0.5059, allocations: 42.55 kB / 469.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5059, allocations: 0 / 469.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Templates: time 0.04207/0.5479, allocations: 28.19 MB / 497.6 MB, free: 15.23 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches