Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.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.001607/0.001607, allocations: 84.16 kB / 20.68 MB, free: 1.023 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.001698/0.001698, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1984/0.1984, allocations: 32.81 MB / 293.5 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 440.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.181e-05, allocations: 9.094 kB / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3312/0.3313, allocations: 131.5 MB / 0.5582 GB, free: 6.418 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3333, allocations: 1.441 MB / 0.5596 GB, free: 4.988 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.531e-05/0.3334, allocations: 0 / 0.5596 GB, free: 4.988 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.3337, allocations: 39.77 kB / 0.5597 GB, free: 4.949 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.3349, allocations: 424.6 kB / 0.5601 GB, free: 4.535 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.3354, allocations: 182.9 kB / 0.5602 GB, free: 4.359 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.3357, allocations: 183.2 kB / 0.5604 GB, free: 4.18 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.767e-05/0.3358, allocations: 11.97 kB / 0.5604 GB, free: 4.168 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.336, allocations: 103.7 kB / 0.5605 GB, free: 4.066 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.3362, allocations: 55.81 kB / 0.5606 GB, free: 4.012 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.3362, allocations: 4 kB / 0.5606 GB, free: 4.008 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.3374, allocations: 0.5492 MB / 0.5611 GB, free: 3.457 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.3375, allocations: 35.89 kB / 0.5611 GB, free: 3.422 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3376, allocations: 39.91 kB / 0.5612 GB, free: 3.383 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008923/0.3385, allocations: 442.9 kB / 0.5616 GB, free: 2.949 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3385, allocations: 0 / 0.5616 GB, free: 2.949 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3385, allocations: 0 / 0.5616 GB, free: 2.949 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3385, allocations: 0 / 0.5616 GB, free: 2.949 MB / 462.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.0007083/0.3392, allocations: 365.7 kB / 0.562 GB, free: 2.562 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3393, allocations: 8.031 kB / 0.562 GB, free: 2.555 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.3416, allocations: 208.6 kB / 0.5622 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.3419, allocations: 149.3 kB / 0.5623 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3419, allocations: 8.75 kB / 0.5623 GB, free: 2.176 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/0.3419, allocations: 19.88 kB / 0.5623 GB, free: 2.156 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.3425, allocations: 277.6 kB / 0.5626 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3425, allocations: 1.219 kB / 0.5626 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.3425, allocations: 4 kB / 0.5626 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.3425, allocations: 4 kB / 0.5626 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006225/0.3431, allocations: 239.8 kB / 0.5628 GB, free: 1.621 MB / 462.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.001695/0.3448, allocations: 0.5483 MB / 0.5634 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.3453, allocations: 182.5 kB / 0.5635 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.3455, allocations: 84.83 kB / 0.5636 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.3456, allocations: 23.92 kB / 0.5637 GB, free: 0.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3457, allocations: 34.56 kB / 0.5637 GB, free: 0.707 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.3457, allocations: 0 / 0.5637 GB, free: 0.707 MB / 462.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.005913/0.3516, allocations: 1.381 MB / 0.565 GB, free: 15.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.3516, allocations: 55.39 kB / 0.5651 GB, free: 15.19 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3517, allocations: 125.7 kB / 0.5652 GB, free: 15.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.3518, allocations: 25.7 kB / 0.5652 GB, free: 15.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.3518, allocations: 104.3 kB / 0.5653 GB, free: 14.92 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.3519, allocations: 67.42 kB / 0.5654 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.352, allocations: 45.7 kB / 0.5654 GB, free: 14.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3522, allocations: 326.8 kB / 0.5657 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.3524, allocations: 95.89 kB / 0.5658 GB, free: 14.38 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.3527, allocations: 126.2 kB / 0.566 GB, free: 14.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.3532, allocations: 220.7 kB / 0.5662 GB, free: 14.03 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3532, allocations: 0 / 0.5662 GB, free: 14.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007046/0.3539, allocations: 286.2 kB / 0.5664 GB, free: 13.74 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3539, allocations: 4 kB / 0.5664 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3539, allocations: 4 kB / 0.5665 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.354, allocations: 32.72 kB / 0.5665 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.3545, allocations: 51.95 kB / 0.5665 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004413/0.3549, allocations: 0.5367 MB / 0.5671 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.3552, allocations: 12.19 kB / 0.5671 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.3553, allocations: 11.98 kB / 0.5671 GB, free: 13.06 MB / 478.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.0001435/0.3554, allocations: 122.4 kB / 0.5672 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.3555, allocations: 11.95 kB / 0.5672 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008289/0.3563, allocations: 311 kB / 0.5675 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3563, allocations: 4 kB / 0.5675 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3563, allocations: 0 / 0.5675 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3563, allocations: 0 / 0.5675 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.3575, allocations: 0.5887 MB / 0.5681 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.3576, allocations: 8.078 kB / 0.5681 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.358, allocations: 55.89 kB / 0.5681 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-05/0.3581, allocations: 16.84 kB / 0.5682 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.3581, allocations: 13.06 kB / 0.5682 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.3592, allocations: 1.236 MB / 0.5694 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3592, allocations: 160 / 0.5694 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.3601, allocations: 454.6 kB / 0.5698 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.3601, allocations: 7.984 kB / 0.5698 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.3601, allocations: 8 kB / 0.5698 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.3605, allocations: 7.984 kB / 0.5698 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.3605, allocations: 23.91 kB / 0.5699 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.3606, allocations: 8 kB / 0.5699 GB, free: 10 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.932e-05/0.3606, allocations: 87.27 kB / 0.57 GB, free: 9.914 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3606, allocations: 4.062 kB / 0.57 GB, free: 9.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005466/0.3612, allocations: 143.6 kB / 0.5701 GB, free: 9.77 MB / 478.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.0007005/0.3619, allocations: 262.7 kB / 0.5703 GB, free: 9.504 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006486/0.3625, allocations: 226.6 kB / 0.5706 GB, free: 9.285 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3625, allocations: 3.938 kB / 0.5706 GB, free: 9.281 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.363, allocations: 226.9 kB / 0.5708 GB, free: 9.047 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.3634, allocations: 44.5 kB / 0.5708 GB, free: 9.004 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008782/0.3643, allocations: 419 kB / 0.5712 GB, free: 8.562 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.534e-05/0.3644, allocations: 94.09 kB / 0.5713 GB, free: 8.453 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002862/0.3647, allocations: 53.45 kB / 0.5714 GB, free: 8.402 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.3648, allocations: 24.48 kB / 0.5714 GB, free: 8.379 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3648, allocations: 0 / 0.5714 GB, free: 8.379 MB / 478.1 MB Notification: Performance of Templates: time 0.0131/0.3779, allocations: 6.309 MB / 0.5775 GB, free: 2.098 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.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: 5.013261198997498]