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.0009821/0.0009821, allocations: 81.08 kB / 22.99 MB, free: 1.5 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.001187/0.001187, allocations: 172.7 kB / 26.4 MB, free: 8.102 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.939/0.939, 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.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.482e-06/1.482e-06, allocations: 0 / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.2e-05, allocations: 2.312 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.248/0.248, allocations: 140.8 MB / 393.1 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000907/0.2489, allocations: 0.9684 MB / 394 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.249, allocations: 0 / 394 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.2492, allocations: 36.5 kB / 394.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005707/0.2498, allocations: 249 kB / 394.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.2501, allocations: 124.3 kB / 394.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.2503, allocations: 174.6 kB / 394.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.2504, allocations: 2.75 kB / 394.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.2506, allocations: 117 kB / 394.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.2506, allocations: 41.92 kB / 394.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.2507, allocations: 5.312 kB / 394.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.251, allocations: 252.1 kB / 395 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.2511, allocations: 23.52 kB / 395 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.2511, allocations: 40 kB / 395.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.2515, allocations: 306.6 kB / 395.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2515, allocations: 2.812 kB / 395.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2515, allocations: 0 / 395.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.2515, allocations: 0 / 395.4 MB, free: 10.6 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.0003674/0.2518, allocations: 439.2 kB / 395.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2519, allocations: 12.7 kB / 395.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.253, allocations: 201.5 kB / 396 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.2532, allocations: 148.3 kB / 396.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2532, allocations: 20.92 kB / 396.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.2532, allocations: 15.89 kB / 396.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.2535, allocations: 273.9 kB / 396.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2535, allocations: 1.094 kB / 396.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.2535, allocations: 7.203 kB / 396.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2535, allocations: 3.5 kB / 396.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.2537, allocations: 107 kB / 396.6 MB, free: 9.855 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.0005455/0.2542, allocations: 0.6145 MB / 397.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.2544, allocations: 119.2 kB / 397.3 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.2544, allocations: 51.78 kB / 397.4 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.2544, allocations: 2.312 kB / 397.4 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.2545, allocations: 39.14 kB / 397.4 MB, free: 9.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.2545, allocations: 0 / 397.4 MB, free: 9.242 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.002255/0.2567, allocations: 0.8542 MB / 398.3 MB, free: 8.914 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.521e-05/0.2567, allocations: 57.72 kB / 398.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.2568, allocations: 172.1 kB / 398.5 MB, free: 8.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.2568, allocations: 33.19 kB / 398.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.2568, allocations: 147.7 kB / 398.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.2569, allocations: 69.16 kB / 398.7 MB, free: 8.461 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.2569, allocations: 55.64 kB / 398.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.257, allocations: 0.4929 MB / 399.3 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.257, allocations: 34.81 kB / 399.3 MB, free: 7.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.2571, allocations: 85.72 kB / 399.4 MB, free: 7.898 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.2572, allocations: 137.5 kB / 399.5 MB, free: 7.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2572, allocations: 4 kB / 399.5 MB, free: 7.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002148/0.2574, allocations: 187.7 kB / 399.7 MB, free: 7.781 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2575, allocations: 9.875 kB / 399.7 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2575, allocations: 3.078 kB / 399.7 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.583e-05/0.2576, allocations: 41.53 kB / 399.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.2577, allocations: 52.27 kB / 399.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002032/0.2579, allocations: 0.8069 MB / 400.6 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.258, allocations: 13.17 kB / 400.6 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.258, allocations: 13.91 kB / 400.6 MB, free: 6.961 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.737e-05/0.2581, allocations: 167.8 kB / 400.8 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.2581, allocations: 15.83 kB / 400.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.2584, allocations: 245.2 kB / 401.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2585, allocations: 2.656 kB / 401.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2585, allocations: 0 / 401.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2585, allocations: 5.875 kB / 401.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.2589, allocations: 0.5182 MB / 401.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2589, allocations: 0 / 401.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.2591, allocations: 59.83 kB / 401.7 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-05/0.2591, allocations: 23.23 kB / 401.7 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2591, allocations: 13.11 kB / 401.7 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004087/0.2596, allocations: 1.706 MB / 403.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2596, allocations: 1.328 kB / 403.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.2599, allocations: 416.2 kB / 403.8 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.2599, allocations: 9.172 kB / 403.8 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.2599, allocations: 3.984 kB / 403.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.26, allocations: 12.53 kB / 403.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.26, allocations: 19.84 kB / 403.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.26, allocations: 18.02 kB / 403.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.005e-05/0.2601, allocations: 134.2 kB / 404 MB, free: 4.164 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2601, allocations: 0 / 404 MB, free: 4.164 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002883/0.2604, allocations: 88.61 kB / 404.1 MB, free: 4.148 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.0002427/0.2606, allocations: 162.4 kB / 404.2 MB, free: 4.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.2608, allocations: 143.4 kB / 404.4 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2608, allocations: 0 / 404.4 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.261, allocations: 264.1 kB / 404.6 MB, free: 3.781 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.2612, allocations: 55.2 kB / 404.7 MB, free: 3.766 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006642/0.2619, allocations: 400.8 kB / 405.1 MB, free: 3.465 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.744e-05/0.2619, allocations: 73.84 kB / 405.2 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000163/0.2621, allocations: 57.98 kB / 405.2 MB, free: 3.352 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.2623, allocations: 147.3 kB / 405.4 MB, free: 3.258 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2623, allocations: 0 / 405.4 MB, free: 3.258 MB / 330.7 MB Notification: Performance of Templates: time 0.006739/0.269, allocations: 5.951 MB / 411.3 MB, free: 188 kB / 330.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 -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: 3.2672125822864473]