Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.001218/0.001218, allocations: 80.92 kB / 22.29 MB, free: 2.203 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.001217/0.001217, allocations: 166.5 kB / 25.7 MB, free: 8.441 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.9209/0.9209, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.417e-05, allocations: 10.25 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2674/0.2674, allocations: 143 MB / 394.5 MB, free: 9.359 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008458/0.2683, allocations: 0.9839 MB / 395.5 MB, free: 9.281 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.2683, allocations: 0 / 395.5 MB, free: 9.281 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.2686, allocations: 32.34 kB / 395.6 MB, free: 9.273 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004495/0.269, allocations: 243.4 kB / 395.8 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.2692, allocations: 125.9 kB / 395.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.2694, allocations: 169.7 kB / 396.1 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.2695, allocations: 8.625 kB / 396.1 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.2697, allocations: 110 kB / 396.2 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.2697, allocations: 45.36 kB / 396.3 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.2697, allocations: 5.719 kB / 396.3 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.2701, allocations: 267.9 kB / 396.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.2701, allocations: 32.33 kB / 396.5 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.2701, allocations: 30.05 kB / 396.6 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.2704, allocations: 301.2 kB / 396.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2704, allocations: 1.094 kB / 396.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2704, allocations: 0 / 396.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.2704, allocations: 2.781 kB / 396.9 MB, free: 9.176 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003138/0.2708, allocations: 308 kB / 397.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.2708, allocations: 11.55 kB / 397.2 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009842/0.2718, allocations: 244.8 kB / 397.4 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2719, allocations: 121.3 kB / 397.5 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.2719, allocations: 6.969 kB / 397.6 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.272, allocations: 12.77 kB / 397.6 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.2722, allocations: 268 kB / 397.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2722, allocations: 1.203 kB / 397.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.2722, allocations: 6.656 kB / 397.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2722, allocations: 0 / 397.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.2723, allocations: 89.34 kB / 397.9 MB, free: 8.574 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.0004497/0.2728, allocations: 433.5 kB / 398.3 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.2729, allocations: 94.14 kB / 398.4 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.2729, allocations: 45.69 kB / 398.5 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.2729, allocations: 2.906 kB / 398.5 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.273, allocations: 36.34 kB / 398.5 MB, free: 8.172 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.273, allocations: 0 / 398.5 MB, free: 8.172 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.001981/0.2749, allocations: 0.8375 MB / 399.4 MB, free: 7.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.589e-05/0.275, allocations: 54.28 kB / 399.4 MB, free: 7.789 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.172e-05/0.275, allocations: 113.2 kB / 399.5 MB, free: 7.684 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.275, allocations: 32.42 kB / 399.6 MB, free: 7.652 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.501e-05/0.275, allocations: 96.17 kB / 399.6 MB, free: 7.559 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.2751, allocations: 70.06 kB / 399.7 MB, free: 7.516 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.2751, allocations: 43.5 kB / 399.8 MB, free: 7.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.894e-05/0.2751, allocations: 329.8 kB / 400.1 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.2752, allocations: 25.92 kB / 400.1 MB, free: 7.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.484e-05/0.2752, allocations: 68.36 kB / 400.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.137e-05/0.2753, allocations: 114.1 kB / 400.3 MB, free: 7.082 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2753, allocations: 0 / 400.3 MB, free: 7.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001742/0.2755, allocations: 155.5 kB / 400.4 MB, free: 7.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2755, allocations: 9.531 kB / 400.4 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2755, allocations: 3.938 kB / 400.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.2756, allocations: 28.53 kB / 400.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.2758, allocations: 67.31 kB / 400.5 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007203/0.283, allocations: 1.59 MB / 402.1 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.2831, allocations: 6.219 kB / 402.1 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.2831, allocations: 15.12 kB / 402.2 MB, free: 5.488 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.177e-05/0.2832, allocations: 129.1 kB / 402.3 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.2832, allocations: 15.42 kB / 402.3 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.2835, allocations: 207.5 kB / 402.5 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2835, allocations: 3 kB / 402.5 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2835, allocations: 0 / 402.5 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2835, allocations: 3.984 kB / 402.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.2838, allocations: 363.7 kB / 402.9 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.2838, allocations: 7.031 kB / 402.9 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.284, allocations: 61.77 kB / 402.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-05/0.284, allocations: 20.14 kB / 402.9 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2841, allocations: 10.58 kB / 403 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002922/0.2843, allocations: 1.155 MB / 404.1 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2843, allocations: 3.938 kB / 404.1 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.2846, allocations: 309 kB / 404.4 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.2846, allocations: 10.94 kB / 404.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.2846, allocations: 2.938 kB / 404.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.2847, allocations: 5.375 kB / 404.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.2847, allocations: 27.88 kB / 404.5 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.2847, allocations: 18.39 kB / 404.5 MB, free: 3.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.271e-05/0.2847, allocations: 25.77 kB / 404.5 MB, free: 3.547 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2847, allocations: 0 / 404.5 MB, free: 3.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.285, allocations: 81.12 kB / 404.6 MB, free: 3.539 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 (20): * Single equations (assignments): 19 * 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.000222/0.2852, allocations: 131 kB / 404.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.2854, allocations: 243.3 kB / 405 MB, free: 3.301 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2854, allocations: 2.781 kB / 405 MB, free: 3.301 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.2855, allocations: 185.2 kB / 405.1 MB, free: 3.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.2857, allocations: 51.77 kB / 405.2 MB, free: 3.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.2864, allocations: 388.9 kB / 405.6 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.916e-05/0.2864, allocations: 74.11 kB / 405.6 MB, free: 2.781 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.2866, allocations: 52.67 kB / 405.7 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.2867, allocations: 122.9 kB / 405.8 MB, free: 2.684 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2867, allocations: 0 / 405.8 MB, free: 2.684 MB / 330.7 MB Notification: Performance of Templates: time 0.006395/0.2931, allocations: 6.21 MB / 412 MB, free: 15.51 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.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: 2.9845952349714935]