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.001279/0.001279, allocations: 112.8 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 213.8 kB / 18.27 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.5 MB, free: 9.027 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 57.88 kB / 306.5 MB, free: 0.6875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1024, allocations: 50.54 MB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1833/0.2857, allocations: 26.48 MB / 383.5 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02521/0.3109, allocations: 24.79 MB / 408.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.3114, allocations: 3.438 kB / 408.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008243/0.3122, allocations: 263.8 kB / 408.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00077/0.313, allocations: 341.3 kB / 408.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01181/0.3248, allocations: 3.556 MB / 412.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.3261, allocations: 0.9429 MB / 413.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.3264, allocations: 107.9 kB / 413.5 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005466/0.3269, allocations: 392.6 kB / 413.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.3273, allocations: 319.5 kB / 414.2 MB, free: 332 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.3273, allocations: 37.06 kB / 414.2 MB, free: 332 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04119/0.3685, allocations: 30.1 MB / 444.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.3688, allocations: 103.7 kB / 444.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004225/0.3692, allocations: 223.2 kB / 444.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04596/0.4152, allocations: 20.18 MB / 464.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4152, allocations: 0 / 464.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4152, allocations: 0 / 464.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4153, allocations: 0 / 464.8 MB, free: 15.03 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.007183/0.4225, allocations: 1.139 MB / 466 MB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4225, allocations: 12.03 kB / 466 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006222/0.4231, allocations: 75.38 kB / 466.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.4236, allocations: 310.4 kB / 466.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.4236, allocations: 28.59 kB / 466.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.4237, allocations: 32 kB / 466.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009399/0.4246, allocations: 459.8 kB / 466.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.4247, allocations: 3.906 kB / 466.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.4247, allocations: 20 kB / 466.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.4247, allocations: 11.94 kB / 466.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007828/0.4255, allocations: 390.3 kB / 467.3 MB, free: 12.45 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.003703/0.4292, allocations: 2.937 MB / 470.2 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007077/0.43, allocations: 298.7 kB / 470.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.4302, allocations: 136.8 kB / 470.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002673/0.4329, allocations: 2.466 MB / 473.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.4329, allocations: 42.48 kB / 473.1 MB, free: 5.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.305e-06/0.4329, allocations: 0 / 473.1 MB, free: 5.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005858/0.4388, allocations: 1.285 MB / 474.4 MB, free: 4.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.4389, allocations: 59.34 kB / 474.5 MB, free: 4.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.4392, allocations: 262.5 kB / 474.7 MB, free: 4.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.4392, allocations: 29.7 kB / 474.8 MB, free: 4.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.4394, allocations: 192 kB / 475 MB, free: 3.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.4395, allocations: 122.3 kB / 475.1 MB, free: 3.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.4396, allocations: 82.03 kB / 475.2 MB, free: 3.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4398, allocations: 342.8 kB / 475.5 MB, free: 3.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.44, allocations: 116.8 kB / 475.6 MB, free: 3.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.4404, allocations: 230 kB / 475.8 MB, free: 2.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.4409, allocations: 384.2 kB / 476.2 MB, free: 2.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4409, allocations: 0 / 476.2 MB, free: 2.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009565/0.4419, allocations: 447.1 kB / 476.6 MB, free: 2.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4419, allocations: 12.06 kB / 476.7 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.442, allocations: 7.984 kB / 476.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006371/0.4483, allocations: 249.4 kB / 476.9 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.4488, allocations: 83.91 kB / 477 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.4506, allocations: 1.954 MB / 478.9 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.4509, allocations: 31.67 kB / 479 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.4509, allocations: 23.98 kB / 479 MB, free: 15.57 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.0002312/0.4512, allocations: 165.8 kB / 479.2 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.4514, allocations: 31.62 kB / 479.2 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.4526, allocations: 0.689 MB / 479.9 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.4526, allocations: 15.92 kB / 479.9 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.4526, allocations: 0 / 479.9 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009446/0.4535, allocations: 0.8595 MB / 480.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.4552, allocations: 1.186 MB / 481.9 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4552, allocations: 0 / 481.9 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.4555, allocations: 67.91 kB / 482 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/0.4573, allocations: 180.5 kB / 482.2 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.4573, allocations: 8 kB / 482.2 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004699/0.4578, allocations: 0.5757 MB / 482.8 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4578, allocations: 0 / 482.8 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.4589, allocations: 0.729 MB / 483.5 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.4591, allocations: 112.7 kB / 483.6 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.4591, allocations: 12.06 kB / 483.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.4594, allocations: 19.94 kB / 483.6 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.4594, allocations: 23.97 kB / 483.7 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.4595, allocations: 15.98 kB / 483.7 MB, free: 10.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002684/0.4597, allocations: 221.9 kB / 483.9 MB, free: 10.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.194e-06/0.4597, allocations: 0 / 483.9 MB, free: 10.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004778/0.4645, allocations: 0.7457 MB / 484.6 MB, free: 9.695 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 (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.03624/0.5008, allocations: 6.403 MB / 491 MB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.5021, allocations: 0.4937 MB / 491.5 MB, free: 2.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5021, allocations: 0 / 491.5 MB, free: 2.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.5026, allocations: 216.2 kB / 491.8 MB, free: 2.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.5037, allocations: 199.4 kB / 491.9 MB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.5055, allocations: 1.052 MB / 493 MB, free: 1.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.506, allocations: 0.809 MB / 493.8 MB, free: 464 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004409/0.5064, allocations: 202.8 kB / 494 MB, free: 264 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.446e-05/0.5065, allocations: 35.42 kB / 494 MB, free: 228 kB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5065, allocations: 0 / 494 MB, free: 228 kB / 398.1 MB Notification: Performance of Templates: time 0.04621/0.5528, allocations: 28.95 MB / 0.5107 GB, free: 3.277 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.1.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