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.001328/0.001328, allocations: 85.08 kB / 23 MB, free: 1.504 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.0009858/0.0009858, allocations: 176.3 kB / 26.39 MB, free: 7.988 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 0.9219/0.9219, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 3.938 kB / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.411e-05, allocations: 2.312 kB / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2751/0.2752, allocations: 141.1 MB / 393.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.2764, allocations: 1.507 MB / 394.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.2765, allocations: 2.625 kB / 394.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.2768, allocations: 46.03 kB / 394.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007583/0.2776, allocations: 402.3 kB / 395.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.2779, allocations: 180.7 kB / 395.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.2781, allocations: 187.1 kB / 395.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.2782, allocations: 4.984 kB / 395.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.2783, allocations: 99.09 kB / 395.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.2784, allocations: 54.61 kB / 395.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.2784, allocations: 5.906 kB / 395.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006008/0.279, allocations: 0.5315 MB / 396.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.2791, allocations: 33.28 kB / 396.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.2791, allocations: 38.89 kB / 396.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.2796, allocations: 410.7 kB / 396.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2796, allocations: 1.094 kB / 396.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2796, allocations: 0 / 396.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2796, allocations: 2.688 kB / 396.8 MB, free: 10.43 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.0003695/0.2799, allocations: 456.8 kB / 397.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.28, allocations: 12.55 kB / 397.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.281, allocations: 212.8 kB / 397.5 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.2812, allocations: 160.9 kB / 397.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.2812, allocations: 6.906 kB / 397.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.2813, allocations: 14.39 kB / 397.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.2815, allocations: 232.2 kB / 397.9 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2815, allocations: 0 / 397.9 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.2815, allocations: 5.875 kB / 397.9 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2815, allocations: 0 / 397.9 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.2817, allocations: 131.5 kB / 398 MB, free: 9.703 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.0007809/0.2825, allocations: 0.5308 MB / 398.5 MB, free: 9.383 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.2826, allocations: 162.3 kB / 398.7 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.2827, allocations: 61.88 kB / 398.8 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.96e-05/0.2827, allocations: 15.98 kB / 398.8 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.2828, allocations: 40.14 kB / 398.8 MB, free: 9.289 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.2828, allocations: 0 / 398.8 MB, free: 9.289 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.002259/0.285, allocations: 1.051 MB / 399.9 MB, free: 8.793 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.482e-05/0.285, allocations: 54.41 kB / 399.9 MB, free: 8.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.2851, allocations: 170.3 kB / 400.1 MB, free: 8.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.2851, allocations: 35.91 kB / 400.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.2851, allocations: 140.9 kB / 400.3 MB, free: 8.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.2852, allocations: 67.17 kB / 400.3 MB, free: 8.336 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.2852, allocations: 53.55 kB / 400.4 MB, free: 8.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.808e-05/0.2853, allocations: 0.4986 MB / 400.9 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.2853, allocations: 46.78 kB / 400.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.2854, allocations: 98.59 kB / 401 MB, free: 7.734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2855, allocations: 163.1 kB / 401.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.2855, allocations: 1.094 kB / 401.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002447/0.2858, allocations: 209.5 kB / 401.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.2858, allocations: 5.5 kB / 401.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.2858, allocations: 4.094 kB / 401.4 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.818e-05/0.2859, allocations: 26.14 kB / 401.4 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.2861, allocations: 58.64 kB / 401.5 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001783/0.2863, allocations: 0.7949 MB / 402.3 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2864, allocations: 9.812 kB / 402.3 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.2864, allocations: 5.875 kB / 402.3 MB, free: 6.754 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 6.862e-05/0.2865, allocations: 166.2 kB / 402.4 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.2865, allocations: 31.36 kB / 402.5 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.2868, allocations: 245 kB / 402.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2868, allocations: 0 / 402.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2868, allocations: 2.969 kB / 402.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2868, allocations: 0 / 402.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.2873, allocations: 0.5536 MB / 403.3 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2873, allocations: 1.094 kB / 403.3 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.2875, allocations: 50.67 kB / 403.3 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-05/0.2876, allocations: 20.23 kB / 403.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.2876, allocations: 6.312 kB / 403.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004069/0.288, allocations: 1.712 MB / 405.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.288, allocations: 2.781 kB / 405.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.2883, allocations: 451.5 kB / 405.5 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.2883, allocations: 6.578 kB / 405.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.2883, allocations: 9.938 kB / 405.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.2885, allocations: 8.875 kB / 405.5 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.2885, allocations: 22.25 kB / 405.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2885, allocations: 15.98 kB / 405.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.937e-05/0.2886, allocations: 127.7 kB / 405.7 MB, free: 3.871 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2886, allocations: 0 / 405.7 MB, free: 3.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.2889, allocations: 132.4 kB / 405.8 MB, free: 3.848 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.000398/0.2893, allocations: 258.3 kB / 406.1 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.2895, allocations: 173.4 kB / 406.2 MB, free: 3.648 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2895, allocations: 0 / 406.2 MB, free: 3.648 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.2896, allocations: 276.3 kB / 406.5 MB, free: 3.441 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.2899, allocations: 51.81 kB / 406.6 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.2905, allocations: 393.6 kB / 406.9 MB, free: 3.125 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.903e-05/0.2906, allocations: 74.69 kB / 407 MB, free: 3.043 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.2907, allocations: 49.86 kB / 407.1 MB, free: 3.012 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.2909, allocations: 126.8 kB / 407.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2909, allocations: 0 / 407.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of Templates: time 0.007454/0.2983, allocations: 7.287 MB / 414.5 MB, free: 15.13 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2356948680244386]