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.001049/0.001049, allocations: 102 kB / 17.16 MB, free: 6.32 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.001023/0.001023, allocations: 190 kB / 18.07 MB, free: 5.414 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.357/1.357, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001141/0.001141, allocations: 51.94 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09426, allocations: 46.62 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02632/0.1206, allocations: 26.33 MB / 352.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02492/0.1456, allocations: 25.63 MB / 378.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003728/0.146, allocations: 7.938 kB / 378.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008604/0.1469, allocations: 250.8 kB / 378.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000717/0.1477, allocations: 358.1 kB / 379.1 MB, free: 160 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1734/0.3211, allocations: 3.234 MB / 382.4 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00161/0.3227, allocations: 1.395 MB / 383.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.3229, allocations: 85.38 kB / 383.9 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005181/0.3234, allocations: 334.3 kB / 384.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.3238, allocations: 308.3 kB / 384.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.3239, allocations: 18.28 kB / 384.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.039/0.3629, allocations: 27.66 MB / 412.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.3632, allocations: 91.66 kB / 412.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005121/0.3637, allocations: 204.1 kB / 412.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05797/0.4217, allocations: 20.15 MB / 432.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4218, allocations: 0 / 432.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4218, allocations: 0 / 432.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.4218, allocations: 0 / 432.6 MB, free: 10.04 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.006175/0.428, allocations: 1.143 MB / 433.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.428, allocations: 8.031 kB / 433.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.4286, allocations: 73.08 kB / 433.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.429, allocations: 320.5 kB / 434.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.429, allocations: 23.59 kB / 434.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.4291, allocations: 36.92 kB / 434.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.4299, allocations: 458.8 kB / 434.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.43, allocations: 3.656 kB / 434.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.43, allocations: 15.56 kB / 434.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.43, allocations: 15.92 kB / 434.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.4307, allocations: 388.2 kB / 435.1 MB, free: 7.883 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.003331/0.4341, allocations: 2.948 MB / 438 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006272/0.4347, allocations: 289.4 kB / 438.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.4349, allocations: 134.8 kB / 438.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002079/0.437, allocations: 2.474 MB / 440.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.4371, allocations: 33.81 kB / 440.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.345e-06/0.4371, allocations: 0 / 440.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005219/0.4423, allocations: 1.297 MB / 442.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.4423, allocations: 59.41 kB / 442.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.4427, allocations: 262 kB / 442.5 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.4427, allocations: 31.45 kB / 442.6 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4429, allocations: 183.7 kB / 442.8 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.209e-05/0.4429, allocations: 126.5 kB / 442.9 MB, free: 156 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.4431, allocations: 78.81 kB / 443 MB, free: 100 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4432, allocations: 337.6 kB / 443.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.4434, allocations: 109.8 kB / 443.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.4437, allocations: 239.5 kB / 443.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.4442, allocations: 372.1 kB / 444 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4442, allocations: 4 kB / 444 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000786/0.445, allocations: 454.7 kB / 444.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.445, allocations: 4 kB / 444.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.445, allocations: 4 kB / 444.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005039/0.4501, allocations: 243 kB / 444.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.4505, allocations: 94.83 kB / 444.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.4518, allocations: 1.84 MB / 446.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.4521, allocations: 30.52 kB / 446.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.4521, allocations: 22 kB / 446.7 MB, free: 12.64 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001981/0.4523, allocations: 173.2 kB / 446.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/0.4524, allocations: 35.56 kB / 446.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009961/0.4534, allocations: 0.689 MB / 447.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.4535, allocations: 6.062 kB / 447.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.4535, allocations: 0 / 447.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007595/0.4542, allocations: 0.8642 MB / 448.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.4557, allocations: 1.195 MB / 449.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4557, allocations: 0 / 449.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.456, allocations: 63.81 kB / 449.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.4577, allocations: 175.1 kB / 449.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.4578, allocations: 12.42 kB / 449.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003319/0.4581, allocations: 0.5691 MB / 450.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4581, allocations: 0 / 450.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009125/0.459, allocations: 0.7456 MB / 451.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/0.4591, allocations: 106.1 kB / 451.3 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.4592, allocations: 11.06 kB / 451.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.4594, allocations: 23.52 kB / 451.3 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.4595, allocations: 27.22 kB / 451.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.4595, allocations: 15.67 kB / 451.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.4597, allocations: 219.8 kB / 451.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4597, allocations: 4 kB / 451.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004324/0.4641, allocations: 0.7355 MB / 452.3 MB, free: 8.008 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 (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 Backend phase and start with SimCode phase: time 0.03481/0.4989, allocations: 6.403 MB / 458.7 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.4999, allocations: 488.3 kB / 459.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.4999, allocations: 4.859 kB / 459.2 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.5003, allocations: 220.9 kB / 459.4 MB, free: 1.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.5014, allocations: 183.5 kB / 459.6 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.5029, allocations: 1.051 MB / 460.6 MB, free: 148 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.5033, allocations: 0.8012 MB / 461.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004085/0.5037, allocations: 202.3 kB / 461.6 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.701e-05/0.5038, allocations: 39.44 kB / 461.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5038, allocations: 0 / 461.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of Templates: time 0.03934/0.5431, allocations: 28.58 MB / 490.3 MB, free: 2.559 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile (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) 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