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.001238/0.001238, allocations: 104.7 kB / 17.93 MB, free: 5.426 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.001182/0.001182, allocations: 189.9 kB / 18.86 MB, free: 4.5 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.399/1.399, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001389/0.001389, allocations: 51.92 kB / 280.8 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0874/0.0888, allocations: 46.64 MB / 327.4 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02581/0.1147, allocations: 26.41 MB / 353.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0243/0.139, allocations: 24.76 MB / 378.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005102/0.1396, allocations: 4 kB / 378.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009423/0.1406, allocations: 258.8 kB / 378.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008516/0.1414, allocations: 350.1 kB / 379.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1797/0.3212, allocations: 3.517 MB / 382.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.3225, allocations: 0.9433 MB / 383.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.3228, allocations: 113.3 kB / 383.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007433/0.3235, allocations: 391.9 kB / 384.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.3239, allocations: 315.2 kB / 384.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.324, allocations: 36.38 kB / 384.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03588/0.3599, allocations: 30.08 MB / 414.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.3602, allocations: 103.8 kB / 414.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.3608, allocations: 232.1 kB / 414.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02397/0.3847, allocations: 10.71 MB / 425.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3848, allocations: 0.7812 kB / 425.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3848, allocations: 0 / 425.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.3848, allocations: 0.8125 kB / 425.6 MB, free: 2.219 MB / 334.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.006499/0.3913, allocations: 1.134 MB / 426.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.3914, allocations: 12.84 kB / 426.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000599/0.392, allocations: 60.41 kB / 426.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.3924, allocations: 322.3 kB / 427.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.3925, allocations: 24 kB / 427.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.3925, allocations: 34.44 kB / 427.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008486/0.3934, allocations: 469.7 kB / 427.7 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3934, allocations: 0 / 427.7 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.3935, allocations: 13.94 kB / 427.7 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3935, allocations: 13.72 kB / 427.7 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/0.3942, allocations: 386.1 kB / 428.1 MB, free: 104 kB / 334.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.003077/0.3972, allocations: 2.954 MB / 431 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.3979, allocations: 284.9 kB / 431.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.3981, allocations: 134.9 kB / 431.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002163/0.4003, allocations: 2.476 MB / 433.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.4003, allocations: 35.69 kB / 433.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 3.968e-06/0.4003, allocations: 0 / 433.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005186/0.4055, allocations: 1.296 MB / 435.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.4056, allocations: 55.41 kB / 435.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.4059, allocations: 263.8 kB / 435.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.4059, allocations: 29.2 kB / 435.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.406, allocations: 188.8 kB / 435.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.4061, allocations: 126.3 kB / 435.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.4062, allocations: 79.12 kB / 436 MB, free: 8.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4063, allocations: 340.6 kB / 436.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.4065, allocations: 111.9 kB / 436.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.4068, allocations: 228.3 kB / 436.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.4073, allocations: 375.9 kB / 437 MB, free: 7.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4073, allocations: 0 / 437 MB, free: 7.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007615/0.408, allocations: 471 kB / 437.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4081, allocations: 11.44 kB / 437.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4081, allocations: 4 kB / 437.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004883/0.413, allocations: 230 kB / 437.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.4134, allocations: 90.45 kB / 437.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.4148, allocations: 1.95 MB / 439.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.4151, allocations: 28.89 kB / 439.8 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.4152, allocations: 19.75 kB / 439.8 MB, free: 4.844 MB / 350.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.0002155/0.4154, allocations: 166.4 kB / 439.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.4155, allocations: 35.56 kB / 440 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.4165, allocations: 0.6923 MB / 440.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.4165, allocations: 4 kB / 440.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4165, allocations: 4 kB / 440.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007558/0.4173, allocations: 0.8585 MB / 441.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.4187, allocations: 1.191 MB / 442.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4187, allocations: 1.406 kB / 442.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.419, allocations: 63.09 kB / 442.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.4206, allocations: 177.2 kB / 443 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.4206, allocations: 8.938 kB / 443 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003864/0.421, allocations: 0.5816 MB / 443.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.421, allocations: 3.938 kB / 443.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.4219, allocations: 0.7306 MB / 444.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.422, allocations: 110.4 kB / 444.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.4221, allocations: 17.22 kB / 444.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.4223, allocations: 21.05 kB / 444.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.4224, allocations: 27.59 kB / 444.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.4224, allocations: 10.69 kB / 444.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002294/0.4226, allocations: 222.9 kB / 444.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4226, allocations: 0 / 444.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.005049/0.4277, allocations: 0.7392 MB / 445.4 MB, free: 244 kB / 350.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.03486/0.4626, allocations: 6.408 MB / 451.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.4638, allocations: 0.4939 MB / 452.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4638, allocations: 4 kB / 452.3 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.4642, allocations: 223.9 kB / 452.5 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.4653, allocations: 194.4 kB / 452.7 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.4669, allocations: 1.073 MB / 453.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.4672, allocations: 0.8069 MB / 454.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.4673, allocations: 42.92 kB / 454.7 MB, free: 7.539 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4673, allocations: 0 / 454.7 MB, free: 7.539 MB / 366.1 MB Notification: Performance of Templates: time 0.03871/0.5061, allocations: 29.18 MB / 483.8 MB, free: 10.48 MB / 398.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","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches