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.001104/0.001104, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001241/0.001241, allocations: 192 kB / 19.29 MB, free: 3.715 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.341/1.341, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001185/0.001185, allocations: 59.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.08159, allocations: 46.62 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02562/0.1073, allocations: 26.6 MB / 355.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02451/0.1318, allocations: 24.85 MB / 380.2 MB, free: 108 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/0.1322, allocations: 4 kB / 380.2 MB, free: 104 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.15/0.2822, allocations: 289.8 kB / 380.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008738/0.2831, allocations: 369.5 kB / 380.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.2932, allocations: 4.007 MB / 384.8 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.2945, allocations: 0.9462 MB / 385.8 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.2948, allocations: 104.9 kB / 385.9 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000637/0.2955, allocations: 391.5 kB / 386.3 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.2959, allocations: 300.3 kB / 386.6 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.246e-05/0.296, allocations: 40.69 kB / 386.6 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01919/0.3151, allocations: 10.42 MB / 397 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.3154, allocations: 97.83 kB / 397.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004509/0.3159, allocations: 234.3 kB / 397.3 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02358/0.3395, allocations: 11.48 MB / 408.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3395, allocations: 0.7812 kB / 408.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3395, allocations: 0 / 408.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.3395, allocations: 0.8125 kB / 408.8 MB, free: 3.738 MB / 318.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.006187/0.3457, allocations: 1.139 MB / 410 MB, free: 2.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3458, allocations: 19.44 kB / 410 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.3463, allocations: 63.78 kB / 410 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.3467, allocations: 325.8 kB / 410.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.3467, allocations: 21.09 kB / 410.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.3468, allocations: 39.39 kB / 410.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.3475, allocations: 463.3 kB / 410.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.3475, allocations: 2.625 kB / 410.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.3476, allocations: 14.75 kB / 410.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.3476, allocations: 13.7 kB / 410.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006509/0.3483, allocations: 383.3 kB / 411.3 MB, free: 1.594 MB / 318.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.003148/0.3514, allocations: 2.949 MB / 414.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.352, allocations: 289.4 kB / 414.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.3523, allocations: 133.6 kB / 414.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002204/0.3545, allocations: 2.474 MB / 417.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3545, allocations: 34.75 kB / 417.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.3545, allocations: 0 / 417.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.005164/0.3597, allocations: 1.284 MB / 418.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.3597, allocations: 55.41 kB / 418.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.36, allocations: 271.3 kB / 418.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.36, allocations: 33.2 kB / 418.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3602, allocations: 188.3 kB / 419 MB, free: 9.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.632e-05/0.3602, allocations: 122.9 kB / 419.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3604, allocations: 76.88 kB / 419.2 MB, free: 9.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3605, allocations: 345 kB / 419.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.3607, allocations: 111.9 kB / 419.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.361, allocations: 225.4 kB / 419.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.3615, allocations: 378.6 kB / 420.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3615, allocations: 1.312 kB / 420.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007835/0.3623, allocations: 463.9 kB / 420.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3623, allocations: 11.98 kB / 420.7 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3623, allocations: 4 kB / 420.7 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004928/0.3673, allocations: 230.6 kB / 420.9 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.3676, allocations: 91.23 kB / 421 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.3689, allocations: 1.947 MB / 422.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.3691, allocations: 15.31 kB / 423 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.3692, allocations: 19.38 kB / 423 MB, free: 6.301 MB / 334.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.0001686/0.3694, allocations: 163.3 kB / 423.1 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/0.3694, allocations: 34.47 kB / 423.2 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009486/0.3704, allocations: 0.6859 MB / 423.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.3704, allocations: 4 kB / 423.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.3704, allocations: 5.438 kB / 423.9 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007542/0.3712, allocations: 0.8565 MB / 424.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.3726, allocations: 1.199 MB / 425.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.3726, allocations: 3.406 kB / 425.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.3729, allocations: 63.97 kB / 426 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/0.3746, allocations: 174.9 kB / 426.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.3746, allocations: 8.781 kB / 426.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003589/0.375, allocations: 0.5696 MB / 426.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.375, allocations: 6.688 kB / 426.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/0.3759, allocations: 0.7357 MB / 427.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.675e-05/0.376, allocations: 109.5 kB / 427.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.327e-05/0.3761, allocations: 9.125 kB / 427.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.3763, allocations: 12.81 kB / 427.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.3764, allocations: 27.09 kB / 427.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.3764, allocations: 16.8 kB / 427.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002232/0.3766, allocations: 221.9 kB / 427.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3766, allocations: 0.7812 kB / 427.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004701/0.3813, allocations: 0.7301 MB / 428.6 MB, free: 1.297 MB / 334.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.0249/0.4063, allocations: 6.411 MB / 435 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.4073, allocations: 490 kB / 435.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4073, allocations: 0 / 435.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003968/0.4077, allocations: 218.4 kB / 435.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.4088, allocations: 184.6 kB / 435.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.4102, allocations: 0.8931 MB / 436.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.4106, allocations: 0.8044 MB / 437.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003624/0.411, allocations: 198.8 kB / 437.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.4111, allocations: 43.36 kB / 437.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4111, allocations: 0 / 437.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of Templates: time 0.03873/0.4498, allocations: 28.95 MB / 466.8 MB, free: 11.34 MB / 382.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 -s gbode -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