Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001075/0.001075, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.301/1.301, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001207/0.001208, allocations: 51.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07707/0.07829, allocations: 46.61 MB / 328.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2884/0.3668, allocations: 150.6 MB / 479.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.368, allocations: 0.9646 MB / 480.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.3681, allocations: 4 kB / 480.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.3684, allocations: 35.77 kB / 480.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005668/0.369, allocations: 242.1 kB / 480.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.3694, allocations: 119.7 kB / 480.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.3696, allocations: 171.2 kB / 480.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.3696, allocations: 4 kB / 480.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3698, allocations: 87.62 kB / 480.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.37, allocations: 55.81 kB / 481 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.37, allocations: 4 kB / 481 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.3705, allocations: 263.7 kB / 481.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.3706, allocations: 23.86 kB / 481.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.428e-05/0.3706, allocations: 47.86 kB / 481.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004411/0.3711, allocations: 276.6 kB / 481.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3711, allocations: 4 kB / 481.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3711, allocations: 0 / 481.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3711, allocations: 0 / 481.6 MB, free: 13.65 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005544/0.3717, allocations: 407.9 kB / 482 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3717, allocations: 12.03 kB / 482 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.3737, allocations: 193.1 kB / 482.2 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.374, allocations: 212.4 kB / 482.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.374, allocations: 11.94 kB / 482.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.3741, allocations: 9.312 kB / 482.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.3745, allocations: 216.1 kB / 482.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3746, allocations: 4 kB / 482.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.3746, allocations: 4 kB / 482.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3746, allocations: 0 / 482.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.375, allocations: 175.8 kB / 482.8 MB, free: 12.34 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.001034/0.3761, allocations: 0.5807 MB / 483.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.3764, allocations: 130.5 kB / 483.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.3766, allocations: 76.81 kB / 483.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3766, allocations: 4 kB / 483.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.3766, allocations: 30.56 kB / 483.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.615e-06/0.3766, allocations: 11.88 kB / 483.6 MB, free: 11.43 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00509/0.3817, allocations: 1.3 MB / 484.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.3818, allocations: 55.41 kB / 485 MB, free: 9.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.3819, allocations: 109.8 kB / 485.1 MB, free: 9.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.3819, allocations: 33.7 kB / 485.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.382, allocations: 95.94 kB / 485.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.382, allocations: 71.03 kB / 485.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.183e-05/0.3821, allocations: 57.59 kB / 485.3 MB, free: 9.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.3822, allocations: 322.8 kB / 485.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3824, allocations: 67.95 kB / 485.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.3826, allocations: 107.4 kB / 485.8 MB, free: 9.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.3829, allocations: 183.3 kB / 486 MB, free: 8.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3829, allocations: 0 / 486 MB, free: 8.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004756/0.3834, allocations: 258.2 kB / 486.2 MB, free: 8.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3834, allocations: 8 kB / 486.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3834, allocations: 0 / 486.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.3836, allocations: 52.83 kB / 486.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.3839, allocations: 52.66 kB / 486.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003913/0.3843, allocations: 0.5641 MB / 486.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.3845, allocations: 8.031 kB / 486.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.3846, allocations: 27.98 kB / 487 MB, free: 7.883 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001023/0.3847, allocations: 125.8 kB / 487.1 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.3848, allocations: 7.906 kB / 487.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000725/0.3855, allocations: 343.8 kB / 487.4 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3855, allocations: 11.94 kB / 487.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3855, allocations: 0 / 487.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3855, allocations: 3.984 kB / 487.4 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009482/0.3865, allocations: 0.6274 MB / 488.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3865, allocations: 0 / 488.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.3869, allocations: 60.05 kB / 488.1 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-05/0.387, allocations: 32.72 kB / 488.2 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.387, allocations: 11.98 kB / 488.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008784/0.3879, allocations: 1.363 MB / 489.5 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3879, allocations: 320 / 489.5 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.3886, allocations: 434.6 kB / 490 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.3886, allocations: 85.05 kB / 490 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.3887, allocations: 8 kB / 490 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.3889, allocations: 11.94 kB / 490.1 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.389, allocations: 23.97 kB / 490.1 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.389, allocations: 35.98 kB / 490.1 MB, free: 4.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.641e-05/0.3891, allocations: 91.25 kB / 490.2 MB, free: 4.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3891, allocations: 0 / 490.2 MB, free: 4.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003914/0.3895, allocations: 79.94 kB / 490.3 MB, free: 4.281 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003456/0.3898, allocations: 159.1 kB / 490.4 MB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004739/0.3903, allocations: 199.8 kB / 490.6 MB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3903, allocations: 0 / 490.6 MB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.3906, allocations: 226.9 kB / 490.9 MB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.3911, allocations: 35.97 kB / 490.9 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007788/0.3919, allocations: 483.9 kB / 491.4 MB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.3921, allocations: 0.7046 MB / 492.1 MB, free: 2.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002918/0.3924, allocations: 69.62 kB / 492.1 MB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.3926, allocations: 55.41 kB / 492.2 MB, free: 2.293 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3926, allocations: 4 kB / 492.2 MB, free: 2.289 MB / 382.1 MB Notification: Performance of Templates: time 0.008815/0.4014, allocations: 5.617 MB / 497.8 MB, free: 12.68 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches