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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 82.5 kB / 21.99 MB, free: 4.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 158.6 MB / 187 MB, free: 6.359 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 59.91 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2271, allocations: 49.15 MB / 348.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3735/0.6006, allocations: 129.7 MB / 478.2 MB, free: 1.441 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.6027, allocations: 1.342 MB / 479.6 MB, free: 1.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.6028, allocations: 1.438 kB / 479.6 MB, free: 1.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.6032, allocations: 48.22 kB / 479.6 MB, free: 1.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.6042, allocations: 398.4 kB / 480 MB, free: 1.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.6048, allocations: 175.8 kB / 480.2 MB, free: 1.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.6051, allocations: 188.6 kB / 480.4 MB, free: 1.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.6052, allocations: 4.547 kB / 480.4 MB, free: 1.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.6053, allocations: 81.5 kB / 480.5 MB, free: 1.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.6055, allocations: 59.62 kB / 480.5 MB, free: 1.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.6055, allocations: 10.09 kB / 480.5 MB, free: 1.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008844/0.6064, allocations: 0.5192 MB / 481 MB, free: 1.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.6064, allocations: 29.88 kB / 481.1 MB, free: 1.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.6065, allocations: 43.62 kB / 481.1 MB, free: 1.406 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.607, allocations: 390.2 kB / 481.5 MB, free: 1.387 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.607, allocations: 2.438 kB / 481.5 MB, free: 1.387 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.607, allocations: 1 kB / 481.5 MB, free: 1.387 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.607, allocations: 0 / 481.5 MB, free: 1.387 MB / 430.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.0007312/0.6078, allocations: 351.8 kB / 481.8 MB, free: 17.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.6078, allocations: 12.2 kB / 481.9 MB, free: 17.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/0.6101, allocations: 207.3 kB / 482.1 MB, free: 17.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.6103, allocations: 149.1 kB / 482.2 MB, free: 16.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.6103, allocations: 12.69 kB / 482.2 MB, free: 16.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.6104, allocations: 8.531 kB / 482.2 MB, free: 16.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.6109, allocations: 282.2 kB / 482.5 MB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6109, allocations: 0 / 482.5 MB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.6109, allocations: 4.188 kB / 482.5 MB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.6109, allocations: 4.375 kB / 482.5 MB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005539/0.6115, allocations: 247.3 kB / 482.7 MB, free: 16.81 MB / 446.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.001649/0.6131, allocations: 0.5435 MB / 483.3 MB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.6135, allocations: 181.4 kB / 483.5 MB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.6137, allocations: 90.8 kB / 483.6 MB, free: 16.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.6138, allocations: 19.27 kB / 483.6 MB, free: 16.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.6138, allocations: 33.66 kB / 483.6 MB, free: 16.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.6138, allocations: 0 / 483.6 MB, free: 16.47 MB / 446.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.005738/0.6196, allocations: 1.395 MB / 485 MB, free: 16.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.6196, allocations: 57.78 kB / 485.1 MB, free: 15.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.6197, allocations: 112.2 kB / 485.2 MB, free: 15.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.6197, allocations: 35.33 kB / 485.2 MB, free: 15.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.6198, allocations: 96.98 kB / 485.3 MB, free: 15.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.6198, allocations: 66.7 kB / 485.4 MB, free: 15.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/0.6199, allocations: 47.27 kB / 485.4 MB, free: 15.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6201, allocations: 322.7 kB / 485.7 MB, free: 15.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.6202, allocations: 90.33 kB / 485.8 MB, free: 15.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.6205, allocations: 125.2 kB / 485.9 MB, free: 15.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.6208, allocations: 221.5 kB / 486.2 MB, free: 15.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6209, allocations: 0 / 486.2 MB, free: 15.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000567/0.6214, allocations: 287.2 kB / 486.4 MB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6214, allocations: 7.5 kB / 486.4 MB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6214, allocations: 2.438 kB / 486.4 MB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.6216, allocations: 26.48 kB / 486.5 MB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.622, allocations: 59.11 kB / 486.5 MB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003941/0.6224, allocations: 0.5364 MB / 487.1 MB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.6227, allocations: 8 kB / 487.1 MB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.6228, allocations: 9.844 kB / 487.1 MB, free: 14.74 MB / 446.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.0001392/0.6229, allocations: 129.6 kB / 487.2 MB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.623, allocations: 10.02 kB / 487.2 MB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006826/0.6237, allocations: 315 kB / 487.5 MB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6237, allocations: 0 / 487.5 MB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.6237, allocations: 7.016 kB / 487.5 MB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6237, allocations: 3.938 kB / 487.5 MB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.6247, allocations: 0.5919 MB / 488.1 MB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6247, allocations: 2.906 kB / 488.1 MB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.6252, allocations: 58.86 kB / 488.2 MB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.074e-05/0.6252, allocations: 22.39 kB / 488.2 MB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.6252, allocations: 3.469 kB / 488.2 MB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009821/0.6262, allocations: 1.242 MB / 489.5 MB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6262, allocations: 0.8438 kB / 489.5 MB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007645/0.627, allocations: 448.8 kB / 489.9 MB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.627, allocations: 14.7 kB / 489.9 MB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.627, allocations: 2.938 kB / 489.9 MB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.6274, allocations: 16.91 kB / 489.9 MB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.6275, allocations: 20.03 kB / 489.9 MB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.6275, allocations: 12.88 kB / 490 MB, free: 12.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.6276, allocations: 87.28 kB / 490 MB, free: 12.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6276, allocations: 0 / 490 MB, free: 12.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005209/0.6281, allocations: 134.5 kB / 490.2 MB, free: 12.8 MB / 446.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 (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.0005851/0.6287, allocations: 257.8 kB / 490.4 MB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005427/0.6292, allocations: 221.7 kB / 490.6 MB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.6292, allocations: 3.438 kB / 490.6 MB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.6296, allocations: 237.9 kB / 490.9 MB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.63, allocations: 50.44 kB / 490.9 MB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.6308, allocations: 493.9 kB / 491.4 MB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.615e-05/0.6309, allocations: 91.67 kB / 491.5 MB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.6312, allocations: 53.02 kB / 491.6 MB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.6313, allocations: 26.22 kB / 491.6 MB, free: 12.24 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6313, allocations: 0 / 491.6 MB, free: 12.24 MB / 446.1 MB Notification: Performance of Templates: time 0.00933/0.6406, allocations: 6.355 MB / 497.9 MB, free: 11.71 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8497984490823]