Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 195.3 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007705/0.0007706, allocations: 101 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002147/0.0002148, allocations: 7.984 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1937, allocations: 51.41 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01692/0.2106, allocations: 24.88 MB / 436.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02916/0.2398, allocations: 32.13 MB / 469 MB, free: 14.81 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003487/0.2402, allocations: 11.94 kB / 469.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007762/0.241, allocations: 246.7 kB / 469.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007875/0.2418, allocations: 350.2 kB / 469.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009096/0.2509, allocations: 3.255 MB / 472.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.2523, allocations: 1.395 MB / 474.3 MB, free: 9.551 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.2525, allocations: 88.94 kB / 474.4 MB, free: 9.461 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006306/0.2532, allocations: 338.7 kB / 474.7 MB, free: 9.129 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004396/0.2536, allocations: 314.7 kB / 475 MB, free: 8.82 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.2537, allocations: 16 kB / 475 MB, free: 8.805 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0451/0.2988, allocations: 30.53 MB / 0.4937 GB, free: 10.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.299, allocations: 83.72 kB / 0.4938 GB, free: 10.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003943/0.2994, allocations: 224.9 kB / 0.494 GB, free: 9.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2139/0.5134, allocations: 20.13 MB / 0.5137 GB, free: 50.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.5134, allocations: 3.688 kB / 0.5137 GB, free: 50.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5134, allocations: 0 / 0.5137 GB, free: 50.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.5135, allocations: 3.375 kB / 0.5137 GB, free: 50.02 MB / 378.7 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.009854/0.5233, allocations: 1.06 MB / 0.5147 GB, free: 49.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5234, allocations: 11.03 kB / 0.5147 GB, free: 49.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004809/0.5239, allocations: 68.09 kB / 0.5148 GB, free: 49.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.5242, allocations: 322.8 kB / 0.5151 GB, free: 49.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5242, allocations: 28.06 kB / 0.5151 GB, free: 49.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.5243, allocations: 33.28 kB / 0.5151 GB, free: 49.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007565/0.525, allocations: 455.8 kB / 0.5156 GB, free: 48.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.5251, allocations: 2.812 kB / 0.5156 GB, free: 48.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.5251, allocations: 18.88 kB / 0.5156 GB, free: 48.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.5251, allocations: 7.438 kB / 0.5156 GB, free: 48.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005998/0.5257, allocations: 385.5 kB / 0.516 GB, free: 48.95 MB / 378.7 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.002699/0.5284, allocations: 2.948 MB / 0.5188 GB, free: 47.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.529, allocations: 295.2 kB / 0.5191 GB, free: 47.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.5292, allocations: 134.5 kB / 0.5193 GB, free: 47.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/0.5308, allocations: 2.527 MB / 0.5217 GB, free: 44.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.5309, allocations: 41 kB / 0.5218 GB, free: 44.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.5309, allocations: 0 / 0.5218 GB, free: 44.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004451/0.5353, allocations: 1.302 MB / 0.523 GB, free: 44.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.5354, allocations: 55.81 kB / 0.5231 GB, free: 44.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.5356, allocations: 263.8 kB / 0.5233 GB, free: 43.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.5356, allocations: 36.42 kB / 0.5234 GB, free: 43.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.5357, allocations: 186.9 kB / 0.5236 GB, free: 43.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.5358, allocations: 116.5 kB / 0.5237 GB, free: 43.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.5358, allocations: 14.22 kB / 0.5237 GB, free: 43.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.5358, allocations: 332 kB / 0.524 GB, free: 43.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.536, allocations: 113.3 kB / 0.5241 GB, free: 43.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.5362, allocations: 225.3 kB / 0.5243 GB, free: 43.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.5366, allocations: 379.5 kB / 0.5247 GB, free: 43.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5366, allocations: 0 / 0.5247 GB, free: 43.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006815/0.5373, allocations: 456.9 kB / 0.5251 GB, free: 43.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5373, allocations: 15.2 kB / 0.5251 GB, free: 43.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.5373, allocations: 4.688 kB / 0.5251 GB, free: 43.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004247/0.5416, allocations: 233.6 kB / 0.5254 GB, free: 43.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.5419, allocations: 95.56 kB / 0.5254 GB, free: 43.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008871/0.5428, allocations: 1.835 MB / 0.5272 GB, free: 41.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.543, allocations: 42.81 kB / 0.5273 GB, free: 41.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.5431, allocations: 22.59 kB / 0.5273 GB, free: 41.23 MB / 378.7 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.0001495/0.5432, allocations: 167.7 kB / 0.5275 GB, free: 41.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.5433, allocations: 37.36 kB / 0.5275 GB, free: 41.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008067/0.5441, allocations: 0.6817 MB / 0.5282 GB, free: 41.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.5441, allocations: 4.75 kB / 0.5282 GB, free: 41.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5441, allocations: 3.938 kB / 0.5282 GB, free: 41.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006147/0.5448, allocations: 0.8651 MB / 0.529 GB, free: 40.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.5459, allocations: 1.184 MB / 0.5302 GB, free: 40.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.546, allocations: 1.344 kB / 0.5302 GB, free: 40.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.5462, allocations: 64.91 kB / 0.5302 GB, free: 40.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/0.5477, allocations: 183.6 kB / 0.5304 GB, free: 40.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.5477, allocations: 9.5 kB / 0.5304 GB, free: 40.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002129/0.5479, allocations: 0.5756 MB / 0.531 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.548, allocations: 0 / 0.531 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.5487, allocations: 0.7453 MB / 0.5317 GB, free: 39.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.5488, allocations: 120.4 kB / 0.5318 GB, free: 39.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.5488, allocations: 5.875 kB / 0.5318 GB, free: 39.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.549, allocations: 23.14 kB / 0.5319 GB, free: 39.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.5491, allocations: 22.48 kB / 0.5319 GB, free: 39.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.5491, allocations: 17.67 kB / 0.5319 GB, free: 39.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.5493, allocations: 218.6 kB / 0.5321 GB, free: 39.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5493, allocations: 1.438 kB / 0.5321 GB, free: 39.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006078/0.5554, allocations: 0.7419 MB / 0.5328 GB, free: 39.12 MB / 378.7 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.04068/0.5961, allocations: 6.402 MB / 0.5391 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009155/0.597, allocations: 486.7 kB / 0.5395 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5971, allocations: 0 / 0.5395 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.5974, allocations: 223.2 kB / 0.5398 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.5984, allocations: 174 kB / 0.5399 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.5996, allocations: 1.118 MB / 0.541 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.5998, allocations: 0.8026 MB / 0.5418 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000358/0.6001, allocations: 191.3 kB / 0.542 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.6002, allocations: 37.77 kB / 0.542 GB, free: 30.64 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6002, allocations: 0 / 0.542 GB, free: 30.64 MB / 378.7 MB Notification: Performance of Templates: time 0.03297/0.6332, allocations: 28.61 MB / 0.57 GB, free: 3.668 MB / 378.7 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.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches