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.002433/0.002433, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 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.002757/0.002757, allocations: 162 kB / 25.03 MB, free: 8.926 MB / 18.57 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.379/1.379, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 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.432e-06/1.432e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.835e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3261/0.3261, allocations: 143.5 MB / 393.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.3277, allocations: 1.517 MB / 395.4 MB, free: 9.961 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.3277, allocations: 0 / 395.4 MB, free: 9.961 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.3281, allocations: 51.7 kB / 395.4 MB, free: 9.953 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009301/0.329, allocations: 405 kB / 395.8 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.3295, allocations: 172.2 kB / 396 MB, free: 9.883 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3297, allocations: 190 kB / 396.2 MB, free: 9.883 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.3297, allocations: 6.5 kB / 396.2 MB, free: 9.879 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.3299, allocations: 109.4 kB / 396.3 MB, free: 9.871 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.33, allocations: 51.34 kB / 396.4 MB, free: 9.871 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.33, allocations: 9.766 kB / 396.4 MB, free: 9.871 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008633/0.3309, allocations: 0.518 MB / 396.9 MB, free: 9.836 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.331, allocations: 38.86 kB / 396.9 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.331, allocations: 40.61 kB / 397 MB, free: 9.824 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006246/0.3316, allocations: 434.6 kB / 397.4 MB, free: 9.785 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3316, allocations: 0 / 397.4 MB, free: 9.785 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3316, allocations: 0 / 397.4 MB, free: 9.785 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3316, allocations: 0 / 397.4 MB, free: 9.785 MB / 330.7 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.0004744/0.3321, allocations: 452.9 kB / 397.8 MB, free: 9.379 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3322, allocations: 15.11 kB / 397.8 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.3343, allocations: 222.6 kB / 398.1 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.3345, allocations: 159.1 kB / 398.2 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3345, allocations: 6.406 kB / 398.2 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.3346, allocations: 12.75 kB / 398.2 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.3349, allocations: 280.8 kB / 398.5 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.335, allocations: 3.938 kB / 398.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.335, allocations: 3.188 kB / 398.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.335, allocations: 2.656 kB / 398.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.3355, allocations: 240.7 kB / 398.8 MB, free: 8.984 MB / 330.7 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.001578/0.337, allocations: 0.5973 MB / 399.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.3374, allocations: 228.5 kB / 399.6 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.3376, allocations: 106.7 kB / 399.7 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.3377, allocations: 15.05 kB / 399.7 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.3378, allocations: 36.7 kB / 399.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.3378, allocations: 0 / 399.7 MB, free: 8.445 MB / 330.7 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.005118/0.3429, allocations: 1.409 MB / 401.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.3429, allocations: 58.19 kB / 401.2 MB, free: 7.785 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.882e-05/0.343, allocations: 175.5 kB / 401.4 MB, free: 7.613 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.343, allocations: 31.89 kB / 401.4 MB, free: 7.582 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.343, allocations: 146.2 kB / 401.5 MB, free: 7.441 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.3431, allocations: 78.28 kB / 401.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3432, allocations: 53.84 kB / 401.7 MB, free: 7.352 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.3432, allocations: 0.494 MB / 402.2 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.3434, allocations: 98.27 kB / 402.3 MB, free: 6.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.3436, allocations: 148 kB / 402.4 MB, free: 6.781 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.344, allocations: 251.6 kB / 402.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.344, allocations: 0 / 402.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005451/0.3446, allocations: 312.9 kB / 403 MB, free: 6.637 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3446, allocations: 5.344 kB / 403 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3446, allocations: 6.719 kB / 403 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.3447, allocations: 30.23 kB / 403 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.3452, allocations: 59.14 kB / 403.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003035/0.3455, allocations: 0.8012 MB / 403.9 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.3457, allocations: 13.14 kB / 403.9 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.3458, allocations: 10.16 kB / 403.9 MB, free: 5.793 MB / 330.7 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 9.771e-05/0.3459, allocations: 173 kB / 404 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.346, allocations: 27.14 kB / 404.1 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/0.3466, allocations: 333.3 kB / 404.4 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3466, allocations: 0 / 404.4 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3466, allocations: 7.062 kB / 404.4 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3466, allocations: 0 / 404.4 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009405/0.3476, allocations: 0.6797 MB / 405.1 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3476, allocations: 3.062 kB / 405.1 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.348, allocations: 53.27 kB / 405.1 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-05/0.3481, allocations: 24.2 kB / 405.2 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.3482, allocations: 9.516 kB / 405.2 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006435/0.3488, allocations: 1.768 MB / 406.9 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3488, allocations: 0 / 406.9 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.3495, allocations: 0.5447 MB / 407.5 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.3495, allocations: 14.89 kB / 407.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.3496, allocations: 6.344 kB / 407.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.3499, allocations: 9.688 kB / 407.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.3499, allocations: 21.28 kB / 407.5 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.35, allocations: 9.703 kB / 407.5 MB, free: 2.961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.348e-05/0.35, allocations: 135.3 kB / 407.7 MB, free: 2.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.35, allocations: 0 / 407.7 MB, free: 2.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004812/0.3505, allocations: 133.6 kB / 407.8 MB, free: 2.816 MB / 330.7 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.0005536/0.351, allocations: 256.3 kB / 408.1 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005359/0.3516, allocations: 265.7 kB / 408.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3516, allocations: 0 / 408.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.3519, allocations: 312.9 kB / 408.6 MB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.3524, allocations: 56.83 kB / 408.7 MB, free: 2.387 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.353, allocations: 413.7 kB / 409.1 MB, free: 2.098 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.3531, allocations: 91.81 kB / 409.2 MB, free: 2.016 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002618/0.3533, allocations: 58.77 kB / 409.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3535, allocations: 23.23 kB / 409.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3535, allocations: 0 / 409.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of Templates: time 0.01031/0.3638, allocations: 6.459 MB / 415.7 MB, free: 14.61 MB / 346.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] 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: 5.042220729985274]