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.0009147/0.0009147, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0009258/0.0009258, allocations: 168.1 kB / 25.33 MB, free: 9.449 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.9223/0.9223, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.573e-06/1.573e-06, allocations: 0 / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.207e-05, allocations: 2.312 kB / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2758/0.2758, allocations: 143.8 MB / 394.9 MB, free: 8.215 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.2773, allocations: 1.521 MB / 396.4 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.2774, allocations: 3.938 kB / 396.4 MB, free: 6.699 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.2777, allocations: 45.58 kB / 396.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008263/0.2786, allocations: 400.8 kB / 396.8 MB, free: 6.266 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.2792, allocations: 175.3 kB / 397 MB, free: 6.094 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.2794, allocations: 187.1 kB / 397.2 MB, free: 5.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.2794, allocations: 4 kB / 397.2 MB, free: 5.906 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.2796, allocations: 111.6 kB / 397.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.2797, allocations: 55.86 kB / 397.4 MB, free: 5.742 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.2797, allocations: 4 kB / 397.4 MB, free: 5.738 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000773/0.2805, allocations: 0.5219 MB / 397.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.2805, allocations: 35.89 kB / 397.9 MB, free: 5.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.2806, allocations: 39.92 kB / 398 MB, free: 5.141 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.281, allocations: 402.9 kB / 398.3 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2811, allocations: 0 / 398.3 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2811, allocations: 3.984 kB / 398.4 MB, free: 4.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.2811, allocations: 0 / 398.4 MB, free: 4.742 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.0004719/0.2815, allocations: 460.6 kB / 398.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2816, allocations: 15.98 kB / 398.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.2827, allocations: 216.4 kB / 399 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.2829, allocations: 160.4 kB / 399.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2829, allocations: 8.562 kB / 399.2 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.2829, allocations: 8.562 kB / 399.2 MB, free: 3.832 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.2832, allocations: 259.3 kB / 399.5 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2832, allocations: 4 kB / 399.5 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.2833, allocations: 4 kB / 399.5 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.2833, allocations: 4 kB / 399.5 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.2835, allocations: 151.8 kB / 399.6 MB, free: 3.391 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.001001/0.2845, allocations: 0.5507 MB / 400.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.2847, allocations: 178.9 kB / 400.3 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.915e-05/0.2848, allocations: 83.28 kB / 400.4 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.2849, allocations: 27.92 kB / 400.5 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.285, allocations: 33.39 kB / 400.5 MB, free: 2.465 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.285, allocations: 0 / 400.5 MB, free: 2.465 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.0028/0.2878, allocations: 1.191 MB / 401.7 MB, free: 1.195 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.2878, allocations: 55.41 kB / 401.7 MB, free: 1.129 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.2879, allocations: 177.8 kB / 401.9 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.2879, allocations: 25.7 kB / 401.9 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.2879, allocations: 151.1 kB / 402.1 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.288, allocations: 75.36 kB / 402.1 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.2881, allocations: 51.31 kB / 402.2 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2882, allocations: 0.4922 MB / 402.7 MB, free: 120 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2883, allocations: 67.91 kB / 402.8 MB, free: 52 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.2884, allocations: 112.1 kB / 402.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.2886, allocations: 190.7 kB / 403.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.2886, allocations: 0 / 403.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003339/0.289, allocations: 237.2 kB / 403.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.289, allocations: 8.609 kB / 403.3 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.289, allocations: 4 kB / 403.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001119/0.2891, allocations: 23.67 kB / 403.3 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.2893, allocations: 55.84 kB / 403.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004164/0.2897, allocations: 0.8001 MB / 404.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2899, allocations: 8 kB / 404.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.2899, allocations: 15.98 kB / 404.2 MB, free: 14.53 MB / 346.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.557e-05/0.29, allocations: 160.6 kB / 404.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.29, allocations: 19.89 kB / 404.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.2904, allocations: 288.8 kB / 404.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2904, allocations: 4 kB / 404.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2904, allocations: 0 / 404.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2904, allocations: 3.984 kB / 404.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.291, allocations: 0.599 MB / 405.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.291, allocations: 4.094 kB / 405.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.2913, allocations: 47.95 kB / 405.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.442e-05/0.2913, allocations: 27.61 kB / 405.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.2914, allocations: 8 kB / 405.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007183/0.2921, allocations: 1.732 MB / 407.1 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2921, allocations: 8.031 kB / 407.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.2925, allocations: 474.4 kB / 407.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.2925, allocations: 11.94 kB / 407.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.2926, allocations: 4 kB / 407.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.2927, allocations: 11.98 kB / 407.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.2928, allocations: 23.92 kB / 407.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.2928, allocations: 7.984 kB / 407.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.407e-05/0.2928, allocations: 135.2 kB / 407.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2928, allocations: 4.031 kB / 407.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003537/0.2932, allocations: 127.7 kB / 407.9 MB, free: 10.61 MB / 346.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.0004448/0.2936, allocations: 253.2 kB / 408.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.294, allocations: 200.8 kB / 408.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.294, allocations: 4 kB / 408.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.2942, allocations: 284.1 kB / 408.6 MB, free: 9.859 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.2945, allocations: 53.98 kB / 408.6 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000875/0.2954, allocations: 398.3 kB / 409 MB, free: 9.379 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.2954, allocations: 71.98 kB / 409.1 MB, free: 9.289 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.2956, allocations: 53.45 kB / 409.2 MB, free: 9.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.293e-05/0.2957, allocations: 28.48 kB / 409.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2957, allocations: 0 / 409.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of Templates: time 0.008018/0.3037, allocations: 6.458 MB / 415.6 MB, free: 2.762 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.293573515024036]