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.001146/0.001146, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001366/0.001366, allocations: 187 kB / 18.67 MB, free: 4.414 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.346/1.346, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001227/0.001227, allocations: 55.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07757/0.07881, allocations: 46.62 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.193/0.2719, allocations: 26.59 MB / 401.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02868/0.3006, allocations: 24.87 MB / 426.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000408/0.301, allocations: 4.562 kB / 426.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008698/0.302, allocations: 291.3 kB / 426.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008024/0.3028, allocations: 366.8 kB / 427.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01145/0.3142, allocations: 4.016 MB / 431.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.3155, allocations: 0.9425 MB / 432.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.3157, allocations: 105.8 kB / 432.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005812/0.3163, allocations: 389.5 kB / 432.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.3167, allocations: 309.2 kB / 433 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/0.3168, allocations: 37 kB / 433 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02204/0.3388, allocations: 10.43 MB / 443.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.3392, allocations: 99.72 kB / 443.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004868/0.3396, allocations: 223.2 kB / 443.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03396/0.3736, allocations: 11.48 MB / 455.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.3737, allocations: 0 / 455.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.3737, allocations: 0 / 455.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.3737, allocations: 0 / 455.3 MB, free: 15.38 MB / 382.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.00635/0.3801, allocations: 1.143 MB / 456.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3801, allocations: 12.03 kB / 456.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005477/0.3807, allocations: 67.5 kB / 456.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.3811, allocations: 326.2 kB / 456.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.3812, allocations: 24.59 kB / 456.8 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/0.3812, allocations: 40 kB / 456.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008848/0.3821, allocations: 471.7 kB / 457.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3822, allocations: 0 / 457.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.3822, allocations: 16 kB / 457.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3822, allocations: 8 kB / 457.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.3829, allocations: 390.3 kB / 457.7 MB, free: 12.77 MB / 382.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.003194/0.3861, allocations: 2.946 MB / 460.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.3868, allocations: 286.7 kB / 461 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.387, allocations: 132.8 kB / 461.1 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002352/0.3894, allocations: 2.478 MB / 463.6 MB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3894, allocations: 34.56 kB / 463.6 MB, free: 6.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.3894, allocations: 0 / 463.6 MB, free: 6.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005075/0.3945, allocations: 1.285 MB / 464.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.3945, allocations: 59.34 kB / 465 MB, free: 4.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.3948, allocations: 262.6 kB / 465.2 MB, free: 4.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.3948, allocations: 29.7 kB / 465.2 MB, free: 4.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.395, allocations: 200 kB / 465.4 MB, free: 4.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.395, allocations: 118.2 kB / 465.5 MB, free: 4.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.3952, allocations: 78.12 kB / 465.6 MB, free: 4.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3953, allocations: 342.8 kB / 466 MB, free: 3.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.3955, allocations: 115.7 kB / 466.1 MB, free: 3.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.3958, allocations: 230 kB / 466.3 MB, free: 3.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.3963, allocations: 373.5 kB / 466.7 MB, free: 2.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3963, allocations: 0 / 466.7 MB, free: 2.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008088/0.3971, allocations: 458.6 kB / 467.1 MB, free: 2.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3971, allocations: 11.94 kB / 467.1 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3972, allocations: 4 kB / 467.1 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004787/0.4019, allocations: 241.8 kB / 467.4 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.4023, allocations: 87.89 kB / 467.4 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.4037, allocations: 1.945 MB / 469.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.4039, allocations: 12 kB / 469.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.4039, allocations: 16 kB / 469.4 MB, free: 15.94 MB / 398.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.0001867/0.4041, allocations: 169.9 kB / 469.6 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.4042, allocations: 31.62 kB / 469.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.4052, allocations: 0.6948 MB / 470.3 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4053, allocations: 11.98 kB / 470.3 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.4053, allocations: 0 / 470.3 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008443/0.4061, allocations: 0.8524 MB / 471.2 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.4075, allocations: 1.198 MB / 472.4 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4076, allocations: 3.984 kB / 472.4 MB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.4078, allocations: 59.91 kB / 472.4 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/0.4094, allocations: 176.6 kB / 472.6 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.4094, allocations: 8 kB / 472.6 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003503/0.4098, allocations: 0.5757 MB / 473.2 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4098, allocations: 0 / 473.2 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009308/0.4108, allocations: 0.7341 MB / 473.9 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.004e-05/0.4109, allocations: 116.9 kB / 474 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.4109, allocations: 9.594 kB / 474 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.4111, allocations: 8 kB / 474.1 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.4112, allocations: 31.84 kB / 474.1 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.4112, allocations: 15.98 kB / 474.1 MB, free: 11.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.4114, allocations: 217.9 kB / 474.3 MB, free: 10.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4114, allocations: 0 / 474.3 MB, free: 10.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004135/0.4156, allocations: 0.7379 MB / 475.1 MB, free: 10.07 MB / 398.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.02378/0.4394, allocations: 6.39 MB / 481.4 MB, free: 3.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009871/0.4404, allocations: 481.4 kB / 481.9 MB, free: 3.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4404, allocations: 0 / 481.9 MB, free: 3.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.4408, allocations: 225.1 kB / 482.1 MB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.4419, allocations: 194.6 kB / 482.3 MB, free: 2.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.4434, allocations: 0.8898 MB / 483.2 MB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.4438, allocations: 0.809 MB / 484 MB, free: 1.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003732/0.4442, allocations: 190.9 kB / 484.2 MB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.4443, allocations: 39.42 kB / 484.2 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4443, allocations: 0 / 484.2 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of Templates: time 0.03883/0.4831, allocations: 29.06 MB / 0.5013 GB, free: 3.672 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/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