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.001447/0.001447, allocations: 114.5 kB / 17.93 MB, free: 5.566 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.001626/0.001626, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.303/1.303, allocations: 205.1 MB / 224.7 MB, free: 12.44 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.001228/0.001228, allocations: 55.94 kB / 280.8 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.1006, allocations: 46.62 MB / 327.4 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3524/0.453, allocations: 148.5 MB / 475.9 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.4544, allocations: 0.9626 MB / 476.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.4545, allocations: 0 / 476.9 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.4548, allocations: 34.19 kB / 476.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006433/0.4555, allocations: 215.5 kB / 477.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.4559, allocations: 104.3 kB / 477.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.4561, allocations: 167.3 kB / 477.4 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.4562, allocations: 8 kB / 477.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.4564, allocations: 91.62 kB / 477.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.882e-05/0.4565, allocations: 55.77 kB / 477.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.4566, allocations: 4 kB / 477.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005327/0.4571, allocations: 271.7 kB / 477.8 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.4572, allocations: 27.89 kB / 477.8 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.4573, allocations: 43.8 kB / 477.9 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.4576, allocations: 205.1 kB / 478.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4576, allocations: 0 / 478.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4576, allocations: 4 kB / 478.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.4576, allocations: 4 kB / 478.1 MB, free: 0.7617 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006143/0.4583, allocations: 403.9 kB / 478.5 MB, free: 328 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.4583, allocations: 15.12 kB / 478.5 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.4605, allocations: 189.1 kB / 478.7 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.4608, allocations: 220.4 kB / 478.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4608, allocations: 3.938 kB / 478.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.4609, allocations: 12 kB / 478.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.4614, allocations: 220 kB / 479.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4615, allocations: 0 / 479.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.4615, allocations: 8 kB / 479.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4615, allocations: 3.938 kB / 479.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.462, allocations: 175.8 kB / 479.3 MB, free: 15.44 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.001199/0.4632, allocations: 0.5805 MB / 479.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.4635, allocations: 138.5 kB / 480 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.4637, allocations: 72.83 kB / 480.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.4637, allocations: 0 / 480.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.4638, allocations: 34.56 kB / 480.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.552e-06/0.4638, allocations: 0 / 480.1 MB, free: 14.54 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.00575/0.4696, allocations: 1.306 MB / 481.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4696, allocations: 55.41 kB / 481.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.4698, allocations: 109.8 kB / 481.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.4698, allocations: 37.7 kB / 481.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4699, allocations: 91.94 kB / 481.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/0.47, allocations: 67.05 kB / 481.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.4702, allocations: 57.59 kB / 481.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.4704, allocations: 322.8 kB / 482.2 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.4706, allocations: 71.91 kB / 482.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.4708, allocations: 103.4 kB / 482.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.4712, allocations: 179.3 kB / 482.5 MB, free: 12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4712, allocations: 11.5 kB / 482.5 MB, free: 11.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005559/0.4717, allocations: 262.2 kB / 482.8 MB, free: 11.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.4718, allocations: 4 kB / 482.8 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.4718, allocations: 4 kB / 482.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/0.472, allocations: 48.83 kB / 482.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003609/0.4724, allocations: 55.89 kB / 482.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005664/0.473, allocations: 0.568 MB / 483.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.4732, allocations: 8.031 kB / 483.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.4732, allocations: 20 kB / 483.5 MB, free: 10.99 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.000132/0.4734, allocations: 129.8 kB / 483.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.4734, allocations: 11.84 kB / 483.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008189/0.4743, allocations: 343 kB / 483.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.4743, allocations: 7.938 kB / 484 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4743, allocations: 0 / 484 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4743, allocations: 0 / 484 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009914/0.4753, allocations: 0.6274 MB / 484.6 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4753, allocations: 4.094 kB / 484.6 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.4757, allocations: 59.95 kB / 484.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.022e-05/0.4758, allocations: 24.66 kB / 484.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.4758, allocations: 15.98 kB / 484.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009601/0.4768, allocations: 1.367 MB / 486 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4768, allocations: 3.938 kB / 486.1 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006501/0.4775, allocations: 434.7 kB / 486.5 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.4775, allocations: 85.05 kB / 486.6 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.4776, allocations: 4 kB / 486.6 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.4778, allocations: 19.98 kB / 486.6 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.4779, allocations: 23.92 kB / 486.6 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.4779, allocations: 27.98 kB / 486.6 MB, free: 7.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.999e-05/0.478, allocations: 91.25 kB / 486.7 MB, free: 7.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.478, allocations: 0 / 486.7 MB, free: 7.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004169/0.4784, allocations: 80 kB / 486.8 MB, free: 7.387 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.0003892/0.4788, allocations: 147.2 kB / 486.9 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005103/0.4793, allocations: 216.5 kB / 487.2 MB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.4793, allocations: 4 kB / 487.2 MB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.4797, allocations: 222.4 kB / 487.4 MB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.4801, allocations: 48.61 kB / 487.4 MB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.481, allocations: 0.5424 MB / 488 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.4813, allocations: 0.7123 MB / 488.7 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.4815, allocations: 55.41 kB / 488.7 MB, free: 5.367 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4815, allocations: 4 kB / 488.7 MB, free: 5.363 MB / 382.1 MB Notification: Performance of Templates: time 0.006067/0.4876, allocations: 3.784 MB / 492.5 MB, free: 1.582 MB / 382.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 -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","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches