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.001316/0.001316, allocations: 89.17 kB / 21.44 MB, free: 276 kB / 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.001437/0.001437, allocations: 164.4 kB / 24.71 MB, free: 3.527 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.327/1.327, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.414e-05, allocations: 6.219 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.304/0.304, allocations: 129.8 MB / 428.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.3062, allocations: 1.34 MB / 430 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.3062, allocations: 0 / 430 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.3066, allocations: 50.55 kB / 430.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.3078, allocations: 408.5 kB / 430.5 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.3084, allocations: 172.7 kB / 430.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.3087, allocations: 188 kB / 430.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/0.3088, allocations: 14.41 kB / 430.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.3091, allocations: 107.7 kB / 431 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.3093, allocations: 51.88 kB / 431 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.3093, allocations: 8 kB / 431 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.3105, allocations: 0.5219 MB / 431.5 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.026e-05/0.3106, allocations: 39.88 kB / 431.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.525e-05/0.3107, allocations: 39.92 kB / 431.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009447/0.3117, allocations: 426.9 kB / 432 MB, free: 8.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3117, allocations: 0 / 432 MB, free: 8.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3117, allocations: 0 / 432 MB, free: 8.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.3117, allocations: 8 kB / 432 MB, free: 8.867 MB / 382.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.0008103/0.3125, allocations: 358.3 kB / 432.4 MB, free: 8.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3125, allocations: 11.98 kB / 432.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002471/0.315, allocations: 200.6 kB / 432.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.3153, allocations: 149.7 kB / 432.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3153, allocations: 4.562 kB / 432.8 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.3153, allocations: 12.56 kB / 432.8 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.3159, allocations: 286.5 kB / 433 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3159, allocations: 0 / 433 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.316, allocations: 8 kB / 433.1 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.316, allocations: 0 / 433.1 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006636/0.3167, allocations: 239.8 kB / 433.3 MB, free: 7.547 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.001877/0.3185, allocations: 0.5435 MB / 433.8 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.319, allocations: 190.3 kB / 434 MB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.3193, allocations: 94.17 kB / 434.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.3194, allocations: 15.97 kB / 434.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.3194, allocations: 34.56 kB / 434.2 MB, free: 6.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.3195, allocations: 0 / 434.2 MB, free: 6.629 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.006286/0.3257, allocations: 1.396 MB / 435.6 MB, free: 5.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.3258, allocations: 55.41 kB / 435.6 MB, free: 5.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3259, allocations: 109.8 kB / 435.7 MB, free: 4.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.326, allocations: 37.7 kB / 435.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.326, allocations: 104.3 kB / 435.9 MB, free: 4.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.254e-05/0.3261, allocations: 63.44 kB / 435.9 MB, free: 4.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.3262, allocations: 45.55 kB / 436 MB, free: 4.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3264, allocations: 326.8 kB / 436.3 MB, free: 4.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.3266, allocations: 91.95 kB / 436.4 MB, free: 4.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.3269, allocations: 123.3 kB / 436.5 MB, free: 4.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.3275, allocations: 219.4 kB / 436.7 MB, free: 3.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3275, allocations: 3.938 kB / 436.7 MB, free: 3.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007321/0.3282, allocations: 282.2 kB / 437 MB, free: 3.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3282, allocations: 8 kB / 437 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3282, allocations: 0 / 437 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/0.3284, allocations: 28.94 kB / 437 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.3289, allocations: 59.83 kB / 437.1 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005275/0.3294, allocations: 0.5329 MB / 437.6 MB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.3297, allocations: 8.031 kB / 437.6 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.3298, allocations: 12.86 kB / 437.6 MB, free: 2.977 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.0001722/0.3299, allocations: 129.7 kB / 437.8 MB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.33, allocations: 15.98 kB / 437.8 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008676/0.3309, allocations: 319 kB / 438.1 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3309, allocations: 0 / 438.1 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3309, allocations: 0 / 438.1 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3309, allocations: 7.938 kB / 438.1 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.3322, allocations: 0.5961 MB / 438.7 MB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3322, allocations: 1.438 kB / 438.7 MB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.3326, allocations: 47.95 kB / 438.7 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.663e-05/0.3327, allocations: 24.84 kB / 438.8 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.3328, allocations: 4.094 kB / 438.8 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.334, allocations: 1.238 MB / 440 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/0.334, allocations: 4.344 kB / 440 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.335, allocations: 458.7 kB / 440.5 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.335, allocations: 7.984 kB / 440.5 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.3351, allocations: 8 kB / 440.5 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.3354, allocations: 7.984 kB / 440.5 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.3355, allocations: 19.92 kB / 440.5 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.3355, allocations: 11.92 kB / 440.5 MB, free: 15.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.866e-05/0.3356, allocations: 95.25 kB / 440.6 MB, free: 15.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3356, allocations: 0 / 440.6 MB, free: 15.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005946/0.3362, allocations: 131.7 kB / 440.7 MB, free: 15.68 MB / 398.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.0007696/0.3369, allocations: 254.8 kB / 441 MB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007159/0.3377, allocations: 227.8 kB / 441.2 MB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.3377, allocations: 4 kB / 441.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.3381, allocations: 226.6 kB / 441.4 MB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.3386, allocations: 56.2 kB / 441.5 MB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3397, allocations: 403.9 kB / 441.9 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.3398, allocations: 90.09 kB / 442 MB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.3401, allocations: 57.67 kB / 442 MB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.3402, allocations: 28.48 kB / 442.1 MB, free: 14.28 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3402, allocations: 4 kB / 442.1 MB, free: 14.28 MB / 398.1 MB Notification: Performance of Templates: time 0.01255/0.3528, allocations: 6.352 MB / 448.4 MB, free: 7.914 MB / 398.1 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/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.744327276945114]