Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009343, allocations: 97.83 kB / 16.93 MB, free: 6.445 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.0009808/0.000981, allocations: 182.8 kB / 17.83 MB, free: 6.012 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.353/1.353, allocations: 205.4 MB / 224 MB, free: 13.17 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.0007133/0.0007134, allocations: 19.44 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1087, allocations: 47.58 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2893/0.398, allocations: 125.7 MB / 454 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.3995, allocations: 1.229 MB / 455.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.3996, allocations: 3.938 kB / 455.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.3998, allocations: 47.8 kB / 455.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006009/0.4004, allocations: 279.2 kB / 455.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.4009, allocations: 127.7 kB / 455.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.401, allocations: 111.8 kB / 455.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.4011, allocations: 4 kB / 455.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.4013, allocations: 87.73 kB / 455.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.4014, allocations: 47.83 kB / 455.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.4014, allocations: 4 kB / 455.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008452/0.4023, allocations: 431.4 kB / 456.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.4023, allocations: 31.95 kB / 456.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.4024, allocations: 41.64 kB / 456.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.4028, allocations: 248.4 kB / 456.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4028, allocations: 0 / 456.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4028, allocations: 3.938 kB / 456.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.4028, allocations: 0 / 456.7 MB, free: 8.422 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005193/0.4034, allocations: 408 kB / 457.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.4034, allocations: 12.03 kB / 457.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.4057, allocations: 196.1 kB / 457.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.406, allocations: 210.8 kB / 457.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.406, allocations: 12.17 kB / 457.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.4061, allocations: 8 kB / 457.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.4066, allocations: 207 kB / 457.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4066, allocations: 0 / 457.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.4066, allocations: 4 kB / 457.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4066, allocations: 4 kB / 457.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.4072, allocations: 240.3 kB / 457.9 MB, free: 7.059 MB / 350.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.001769/0.409, allocations: 0.68 MB / 458.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.4094, allocations: 182.5 kB / 458.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.4096, allocations: 93.09 kB / 458.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.4097, allocations: 38.56 kB / 458.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.4097, allocations: 7.875 kB / 458.9 MB, free: 5.969 MB / 350.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.005752/0.4154, allocations: 1.532 MB / 460.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.4155, allocations: 55.41 kB / 460.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.967e-05/0.4156, allocations: 109.8 kB / 460.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.4156, allocations: 29.7 kB / 460.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.4157, allocations: 100.2 kB / 460.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.4158, allocations: 67 kB / 460.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.4158, allocations: 8 kB / 460.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4159, allocations: 318.8 kB / 461.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.4161, allocations: 95.81 kB / 461.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.4164, allocations: 119.4 kB / 461.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.4166, allocations: 95.98 kB / 461.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4166, allocations: 4 kB / 461.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000617/0.4172, allocations: 294.3 kB / 461.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.4173, allocations: 4 kB / 461.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4173, allocations: 0 / 461.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001238/0.4174, allocations: 20.84 kB / 461.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.4179, allocations: 67.98 kB / 461.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003665/0.4183, allocations: 0.529 MB / 462.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.4186, allocations: 15.88 kB / 462.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.4186, allocations: 11.98 kB / 462.4 MB, free: 2.316 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.4188, allocations: 135.1 kB / 462.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.4189, allocations: 11.84 kB / 462.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007671/0.4196, allocations: 323.4 kB / 462.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4196, allocations: 0 / 462.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4197, allocations: 4 kB / 462.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4197, allocations: 0 / 462.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.4207, allocations: 0.6641 MB / 463.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4207, allocations: 4.094 kB / 463.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.4212, allocations: 49.33 kB / 463.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.026e-05/0.4213, allocations: 32.7 kB / 463.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.4213, allocations: 8 kB / 463.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008193/0.4221, allocations: 1.265 MB / 464.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4221, allocations: 0 / 464.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/0.4229, allocations: 484 kB / 465.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.423, allocations: 89.03 kB / 465.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.423, allocations: 8 kB / 465.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.4234, allocations: 12.06 kB / 465.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.4234, allocations: 23.83 kB / 465.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.4235, allocations: 23.92 kB / 465.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.161e-05/0.4235, allocations: 79.28 kB / 465.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4235, allocations: 0 / 465.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005076/0.424, allocations: 131.9 kB / 465.7 MB, free: 14.72 MB / 366.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005627/0.4246, allocations: 235 kB / 465.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005751/0.4252, allocations: 238.7 kB / 466.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4252, allocations: 0 / 466.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.4256, allocations: 238.6 kB / 466.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.426, allocations: 44.08 kB / 466.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008156/0.4268, allocations: 0.5627 MB / 467 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.4271, allocations: 0.7127 MB / 467.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004003/0.4275, allocations: 49.39 kB / 467.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.4276, allocations: 23.42 kB / 467.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.4276, allocations: 0 / 467.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of Templates: time 0.009601/0.4372, allocations: 6.04 MB / 473.8 MB, free: 6.508 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches