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.001508/0.001508, allocations: 109 kB / 16.51 MB, free: 6.707 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.001556/0.001556, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.364/1.364, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 48.36 kB / 299.9 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08288/0.08389, allocations: 49.45 MB / 349.4 MB, free: 4.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1783/0.2622, allocations: 26.3 MB / 375.7 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02201/0.2842, allocations: 25.62 MB / 401.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/0.2846, allocations: 8.469 kB / 401.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007778/0.2854, allocations: 250.4 kB / 401.6 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006881/0.2861, allocations: 357.3 kB / 401.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.2966, allocations: 3.246 MB / 405.2 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.298, allocations: 1.396 MB / 406.6 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.2982, allocations: 86.8 kB / 406.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004945/0.2987, allocations: 334.2 kB / 407 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.299, allocations: 319 kB / 407.3 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.2991, allocations: 19.25 kB / 407.3 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03892/0.338, allocations: 27.66 MB / 435 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.3382, allocations: 95.58 kB / 435 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004326/0.3387, allocations: 203.2 kB / 435.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0561/0.3948, allocations: 20.16 MB / 455.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3948, allocations: 4 kB / 455.4 MB, free: 9.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3948, allocations: 0 / 455.4 MB, free: 9.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3948, allocations: 0 / 455.4 MB, free: 9.773 MB / 366.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.005382/0.4002, allocations: 1.141 MB / 456.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.4003, allocations: 8.031 kB / 456.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/0.4008, allocations: 71.52 kB / 456.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.4012, allocations: 314.3 kB / 456.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.4013, allocations: 24.66 kB / 457 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.4013, allocations: 28 kB / 457 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.4022, allocations: 467.7 kB / 457.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.4022, allocations: 4 kB / 457.4 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.4023, allocations: 16 kB / 457.5 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4023, allocations: 11.94 kB / 457.5 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007413/0.403, allocations: 386.3 kB / 457.8 MB, free: 7.207 MB / 366.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.003271/0.4063, allocations: 2.949 MB / 460.8 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/0.407, allocations: 286.8 kB / 461.1 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.4072, allocations: 136.8 kB / 461.2 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002326/0.4095, allocations: 2.474 MB / 463.7 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.4096, allocations: 34.56 kB / 463.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.4096, allocations: 0 / 463.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005425/0.415, allocations: 1.287 MB / 465 MB, free: 15.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.4151, allocations: 55.41 kB / 465.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.4153, allocations: 262.5 kB / 465.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.4154, allocations: 37.7 kB / 465.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.4155, allocations: 192 kB / 465.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.153e-05/0.4156, allocations: 118.2 kB / 465.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.4157, allocations: 82.12 kB / 465.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4159, allocations: 334.8 kB / 466.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.4161, allocations: 120.8 kB / 466.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.4164, allocations: 226 kB / 466.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.4169, allocations: 382.6 kB / 466.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4169, allocations: 3.938 kB / 466.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009212/0.4178, allocations: 454.6 kB / 467.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4179, allocations: 14.75 kB / 467.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4179, allocations: 4 kB / 467.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005414/0.4233, allocations: 233.9 kB / 467.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.4237, allocations: 91.83 kB / 467.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.4251, allocations: 1.844 MB / 469.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.4253, allocations: 27.98 kB / 469.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.4254, allocations: 20 kB / 469.4 MB, free: 10.45 MB / 382.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.0001975/0.4256, allocations: 177.7 kB / 469.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-05/0.4257, allocations: 35.56 kB / 469.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.4268, allocations: 0.6841 MB / 470.3 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.4268, allocations: 4 kB / 470.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4268, allocations: 4 kB / 470.3 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008058/0.4276, allocations: 0.8554 MB / 471.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.4291, allocations: 1.198 MB / 472.4 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4291, allocations: 0 / 472.4 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.4294, allocations: 67.91 kB / 472.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.4311, allocations: 172.5 kB / 472.6 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.4312, allocations: 8 kB / 472.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003414/0.4315, allocations: 0.5835 MB / 473.2 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4315, allocations: 0 / 473.2 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/0.4325, allocations: 0.7335 MB / 474 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.4326, allocations: 108.6 kB / 474.1 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.4327, allocations: 8 kB / 474.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.4329, allocations: 31.98 kB / 474.1 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.433, allocations: 19.97 kB / 474.1 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.433, allocations: 15.98 kB / 474.1 MB, free: 5.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.4332, allocations: 218 kB / 474.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4332, allocations: 0 / 474.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004251/0.4375, allocations: 0.7379 MB / 475.1 MB, free: 4.566 MB / 382.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.03531/0.4728, allocations: 6.412 MB / 481.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.4739, allocations: 478.1 kB / 482 MB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.474, allocations: 4 kB / 482 MB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.4745, allocations: 217.5 kB / 482.2 MB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.4756, allocations: 189.5 kB / 482.4 MB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.4773, allocations: 1.045 MB / 483.4 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.4777, allocations: 0.809 MB / 484.2 MB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004371/0.4781, allocations: 183 kB / 484.4 MB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/0.4782, allocations: 43.42 kB / 484.4 MB, free: 11.14 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4782, allocations: 0 / 484.4 MB, free: 11.14 MB / 398.1 MB Notification: Performance of Templates: time 0.04141/0.5196, allocations: 28.59 MB / 0.501 GB, free: 14.57 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/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