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.001073/0.001073, allocations: 93.94 kB / 16.93 MB, free: 5.984 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.001646/0.001646, allocations: 180.7 kB / 17.82 MB, free: 5.652 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.361/1.361, allocations: 205.4 MB / 224 MB, free: 13.15 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.0006579/0.000658, allocations: 15.44 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.108, allocations: 47.58 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.293/0.401, allocations: 125.6 MB / 453.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.4022, allocations: 0.8195 MB / 454.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.4022, allocations: 0 / 454.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.4025, allocations: 31.88 kB / 454.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005256/0.403, allocations: 199.4 kB / 454.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.4033, allocations: 104.7 kB / 455 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.4035, allocations: 103.8 kB / 455.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.4036, allocations: 4 kB / 455.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.4038, allocations: 83.75 kB / 455.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.667e-05/0.4039, allocations: 51.83 kB / 455.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.4039, allocations: 4 kB / 455.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005671/0.4045, allocations: 279.7 kB / 455.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.4046, allocations: 19.91 kB / 455.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.4046, allocations: 45.7 kB / 455.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.4049, allocations: 196.6 kB / 455.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.4049, allocations: 0 / 455.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4049, allocations: 0 / 455.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.405, allocations: 0 / 455.8 MB, free: 9.32 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004515/0.4054, allocations: 379.8 kB / 456.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.4054, allocations: 11.97 kB / 456.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/0.4076, allocations: 204.1 kB / 456.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.4078, allocations: 203.4 kB / 456.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4078, allocations: 4 kB / 456.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.4079, allocations: 8 kB / 456.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.4084, allocations: 227.9 kB / 456.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4084, allocations: 4 kB / 456.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.4084, allocations: 11.98 kB / 456.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.4085, allocations: 0 / 456.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.4089, allocations: 167.9 kB / 457 MB, free: 8.023 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.0009915/0.4099, allocations: 0.5803 MB / 457.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.4102, allocations: 138.5 kB / 457.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.4102, allocations: 7.984 kB / 457.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.4103, allocations: 30.56 kB / 457.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.4103, allocations: 7.938 kB / 457.7 MB, free: 7.184 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.005084/0.4154, allocations: 1.299 MB / 459 MB, free: 5.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.4154, allocations: 59.41 kB / 459.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.918e-05/0.4155, allocations: 109.8 kB / 459.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.4156, allocations: 33.64 kB / 459.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.4156, allocations: 95.98 kB / 459.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/0.4157, allocations: 74.98 kB / 459.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.4157, allocations: 0 / 459.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.4158, allocations: 322.8 kB / 459.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.416, allocations: 67.97 kB / 459.8 MB, free: 5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.4161, allocations: 99.58 kB / 459.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.4163, allocations: 80.92 kB / 460 MB, free: 4.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.4163, allocations: 4 kB / 460 MB, free: 4.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004637/0.4168, allocations: 263.3 kB / 460.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4168, allocations: 4 kB / 460.2 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4168, allocations: 0 / 460.2 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.417, allocations: 56.86 kB / 460.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.4173, allocations: 55.91 kB / 460.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003767/0.4177, allocations: 0.5602 MB / 460.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.4179, allocations: 14.59 kB / 460.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.418, allocations: 23.98 kB / 460.9 MB, free: 3.805 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.0001139/0.4181, allocations: 133.8 kB / 461.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.4181, allocations: 11.91 kB / 461.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008121/0.419, allocations: 343.2 kB / 461.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.419, allocations: 7.938 kB / 461.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.419, allocations: 0 / 461.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.419, allocations: 3.953 kB / 461.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008948/0.4199, allocations: 0.6196 MB / 462 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4199, allocations: 3 kB / 462.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.4203, allocations: 59.89 kB / 462.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.206e-05/0.4203, allocations: 24.89 kB / 462.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.4204, allocations: 16 kB / 462.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008461/0.4212, allocations: 1.268 MB / 463.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4212, allocations: 0 / 463.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/0.4219, allocations: 471.8 kB / 463.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.422, allocations: 92.98 kB / 464 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.422, allocations: 0 / 464 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.4223, allocations: 11.95 kB / 464 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.4223, allocations: 23.97 kB / 464 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.4224, allocations: 27.98 kB / 464 MB, free: 436 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.615e-05/0.4224, allocations: 87.28 kB / 464.1 MB, free: 348 kB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4224, allocations: 4 kB / 464.1 MB, free: 344 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000402/0.4228, allocations: 83.98 kB / 464.2 MB, free: 260 kB / 350.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 (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.0003479/0.4232, allocations: 151.1 kB / 464.4 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004835/0.4237, allocations: 199.8 kB / 464.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4237, allocations: 3.938 kB / 464.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.424, allocations: 219 kB / 464.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.4244, allocations: 47.91 kB / 464.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008056/0.4252, allocations: 0.5643 MB / 465.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.4255, allocations: 0.7126 MB / 466.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004618/0.426, allocations: 77.39 kB / 466.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.4262, allocations: 51.41 kB / 466.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4262, allocations: 0 / 466.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Templates: time 0.009552/0.4357, allocations: 5.404 MB / 471.6 MB, free: 8.77 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/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