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.001263/0.001263, allocations: 107.3 kB / 18.4 MB, free: 4.676 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.001317/0.001317, allocations: 187.3 kB / 19.34 MB, free: 3.754 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.239/1.239, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001177/0.001177, allocations: 51.94 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07103/0.07221, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1716/0.2439, allocations: 26.59 MB / 402.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02487/0.2688, allocations: 24.87 MB / 427.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003824/0.2692, allocations: 13.34 kB / 427.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008507/0.2701, allocations: 289.8 kB / 427.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008998/0.271, allocations: 363.3 kB / 427.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009809/0.2808, allocations: 4.018 MB / 432 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.282, allocations: 0.942 MB / 432.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.2823, allocations: 107.9 kB / 433 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.283, allocations: 384.1 kB / 433.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.2835, allocations: 317.2 kB / 433.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.336e-05/0.2836, allocations: 37.34 kB / 433.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02036/0.3039, allocations: 10.42 MB / 444.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.3042, allocations: 111.6 kB / 444.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.3046, allocations: 223.2 kB / 444.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03125/0.3358, allocations: 11.48 MB / 456 MB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3359, allocations: 0 / 456 MB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3359, allocations: 0 / 456 MB, free: 15.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3359, allocations: 0 / 456 MB, free: 15.38 MB / 382.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.005594/0.3415, allocations: 1.147 MB / 457.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3415, allocations: 8.031 kB / 457.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005594/0.3421, allocations: 67.5 kB / 457.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.3426, allocations: 326.2 kB / 457.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.3426, allocations: 28.59 kB / 457.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.3427, allocations: 36 kB / 457.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008866/0.3436, allocations: 463.7 kB / 458 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3436, allocations: 3.938 kB / 458 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.3437, allocations: 16 kB / 458 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.3437, allocations: 8 kB / 458 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007442/0.3444, allocations: 390.3 kB / 458.4 MB, free: 12.78 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.003241/0.3477, allocations: 2.937 MB / 461.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.3483, allocations: 286.7 kB / 461.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.3485, allocations: 136.8 kB / 461.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002204/0.3508, allocations: 2.474 MB / 464.2 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3508, allocations: 30.56 kB / 464.3 MB, free: 6.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.3508, allocations: 4 kB / 464.3 MB, free: 6.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005319/0.3561, allocations: 1.291 MB / 465.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.3562, allocations: 55.41 kB / 465.6 MB, free: 4.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.3564, allocations: 266.5 kB / 465.9 MB, free: 4.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.3565, allocations: 33.7 kB / 465.9 MB, free: 4.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3566, allocations: 192 kB / 466.1 MB, free: 4.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.478e-05/0.3567, allocations: 122.2 kB / 466.2 MB, free: 4.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.3568, allocations: 78.12 kB / 466.3 MB, free: 4.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.357, allocations: 338.8 kB / 466.6 MB, free: 3.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.3572, allocations: 113.7 kB / 466.7 MB, free: 3.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.3574, allocations: 234 kB / 467 MB, free: 3.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.358, allocations: 376.4 kB / 467.3 MB, free: 2.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.358, allocations: 0 / 467.3 MB, free: 2.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007958/0.3588, allocations: 462.5 kB / 467.8 MB, free: 2.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3588, allocations: 11.94 kB / 467.8 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3588, allocations: 4 kB / 467.8 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004891/0.3637, allocations: 233.9 kB / 468 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.364, allocations: 91.83 kB / 468.1 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.3654, allocations: 1.939 MB / 470.1 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.3656, allocations: 12 kB / 470.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3657, allocations: 20 kB / 470.1 MB, free: 15.95 MB / 398.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.0001718/0.3659, allocations: 173.8 kB / 470.3 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.3659, allocations: 27.62 kB / 470.3 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009967/0.3669, allocations: 0.6918 MB / 471 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008039/0.3678, allocations: 0.8563 MB / 471.8 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3678, allocations: 0 / 471.8 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.3679, allocations: 108.7 kB / 471.9 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.3679, allocations: 13.2 kB / 472 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.3681, allocations: 16 kB / 472 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.3682, allocations: 23.72 kB / 472 MB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008928/0.3691, allocations: 0.5096 MB / 472.5 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008842/0.37, allocations: 0.7711 MB / 473.3 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002385/0.3702, allocations: 180.4 kB / 473.5 MB, free: 12.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.3704, allocations: 221.9 kB / 473.7 MB, free: 12.22 MB / 398.1 MB Notification: Performance of Backend: time 6.21e-07/0.3704, allocations: 0 / 473.7 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.03867/0.4091, allocations: 9.956 MB / 483.6 MB, free: 2.234 MB / 398.1 MB Notification: Performance of SimCode: time 0.001666/0.4108, allocations: 1.287 MB / 484.9 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of Templates: time 0.04274/0.4536, allocations: 33.29 MB / 0.5061 GB, free: 15.54 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches