Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001048/0.001048, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001101/0.001101, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009656/0.0009656, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2037, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02656/0.2303, allocations: 26.59 MB / 428 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02491/0.2552, allocations: 24.85 MB / 452.9 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002775/0.2555, allocations: 11.94 kB / 452.9 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.2563, allocations: 306.4 kB / 453.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007423/0.2571, allocations: 373.9 kB / 453.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00865/0.2657, allocations: 4.09 MB / 457.6 MB, free: 492 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000991/0.2667, allocations: 0.9426 MB / 458.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.2669, allocations: 116.9 kB / 458.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005654/0.2675, allocations: 386.7 kB / 459.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.2679, allocations: 298.8 kB / 459.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.165e-05/0.268, allocations: 36 kB / 459.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01698/0.285, allocations: 10.42 MB / 469.8 MB, free: 4.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.2851, allocations: 107.6 kB / 469.9 MB, free: 4.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.2854, allocations: 227.1 kB / 470.1 MB, free: 3.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02787/0.3133, allocations: 11.48 MB / 481.6 MB, free: 8.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3133, allocations: 0 / 481.6 MB, free: 8.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.3133, allocations: 4 kB / 481.6 MB, free: 8.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.3133, allocations: 3.938 kB / 481.6 MB, free: 8.441 MB / 398.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.005172/0.3185, allocations: 1.146 MB / 482.8 MB, free: 7.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3185, allocations: 8.031 kB / 482.8 MB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005304/0.3191, allocations: 67.58 kB / 482.9 MB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.3195, allocations: 326.8 kB / 483.2 MB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.3196, allocations: 24.66 kB / 483.2 MB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.3196, allocations: 35.94 kB / 483.2 MB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008766/0.3205, allocations: 459.8 kB / 483.7 MB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.3205, allocations: 7.984 kB / 483.7 MB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.3206, allocations: 16 kB / 483.7 MB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3206, allocations: 8 kB / 483.7 MB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007404/0.3213, allocations: 390.2 kB / 484.1 MB, free: 5.852 MB / 398.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.003596/0.3249, allocations: 2.941 MB / 487 MB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.3256, allocations: 286.8 kB / 487.3 MB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.3258, allocations: 132.8 kB / 487.4 MB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/0.3281, allocations: 2.474 MB / 489.9 MB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3282, allocations: 38.56 kB / 490 MB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.3282, allocations: 0 / 490 MB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005322/0.3335, allocations: 1.297 MB / 491.3 MB, free: 13.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.3336, allocations: 55.41 kB / 491.3 MB, free: 13.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.3338, allocations: 266.5 kB / 491.6 MB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.3339, allocations: 37.7 kB / 491.6 MB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.334, allocations: 184.1 kB / 491.8 MB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.863e-05/0.3341, allocations: 118.2 kB / 491.9 MB, free: 13.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3342, allocations: 86.11 kB / 492 MB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3343, allocations: 334.8 kB / 492.3 MB, free: 12.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.3345, allocations: 112.8 kB / 492.4 MB, free: 12.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.3348, allocations: 226.1 kB / 492.6 MB, free: 12.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.3353, allocations: 373.5 kB / 493 MB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3353, allocations: 4 kB / 493 MB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008218/0.3362, allocations: 462.6 kB / 493.5 MB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3362, allocations: 11.92 kB / 493.5 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3362, allocations: 11.92 kB / 493.5 MB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00521/0.3414, allocations: 237.8 kB / 493.7 MB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.3418, allocations: 91.89 kB / 493.8 MB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.3432, allocations: 1.939 MB / 495.7 MB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.3434, allocations: 8 kB / 495.8 MB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.3434, allocations: 20 kB / 495.8 MB, free: 9.004 MB / 414.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.0001637/0.3436, allocations: 161.8 kB / 495.9 MB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-05/0.3437, allocations: 35.81 kB / 496 MB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.3447, allocations: 0.6966 MB / 496.7 MB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008263/0.3455, allocations: 0.8562 MB / 497.5 MB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3455, allocations: 0 / 497.5 MB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.3456, allocations: 112.6 kB / 497.6 MB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/0.3457, allocations: 15.92 kB / 497.6 MB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.3459, allocations: 4 kB / 497.6 MB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.346, allocations: 23.97 kB / 497.7 MB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000918/0.3469, allocations: 0.5211 MB / 498.2 MB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008986/0.3478, allocations: 0.7603 MB / 499 MB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002347/0.348, allocations: 181.6 kB / 499.1 MB, free: 5.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002137/0.3483, allocations: 226 kB / 499.4 MB, free: 5.27 MB / 414.1 MB Notification: Performance of Backend: time 3.4e-07/0.3483, allocations: 0 / 499.4 MB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.03815/0.3864, allocations: 9.95 MB / 0.4974 GB, free: 11.28 MB / 430.1 MB Notification: Performance of SimCode: time 0.001645/0.3881, allocations: 1.268 MB / 0.4986 GB, free: 9.965 MB / 430.1 MB Notification: Performance of Templates: time 0.04289/0.431, allocations: 33.37 MB / 0.5312 GB, free: 8.594 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches