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.001217/0.001217, allocations: 80.8 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.001445/0.001445, allocations: 165.6 kB / 25.69 MB, free: 8.453 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.8508/0.8508, allocations: 158.6 MB / 187.6 MB, free: 2.801 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.152e-06/1.152e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.162e-05, allocations: 2.312 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2234/0.2234, allocations: 142.9 MB / 394.5 MB, free: 9.383 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007602/0.2242, allocations: 0.9849 MB / 395.4 MB, free: 9.305 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.2242, allocations: 0 / 395.4 MB, free: 9.305 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.2244, allocations: 30.84 kB / 395.5 MB, free: 9.297 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.2249, allocations: 257.5 kB / 395.7 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.2251, allocations: 120.9 kB / 395.8 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.2252, allocations: 170.3 kB / 396 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.2253, allocations: 8.562 kB / 396 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.2254, allocations: 115.8 kB / 396.1 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.2255, allocations: 40.58 kB / 396.2 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2255, allocations: 5.312 kB / 396.2 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.2258, allocations: 256.3 kB / 396.4 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.2258, allocations: 24.48 kB / 396.4 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.2258, allocations: 36.45 kB / 396.5 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.2261, allocations: 300.1 kB / 396.8 MB, free: 9.203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2261, allocations: 0 / 396.8 MB, free: 9.203 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2261, allocations: 0 / 396.8 MB, free: 9.203 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.2261, allocations: 4 kB / 396.8 MB, free: 9.199 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.0002858/0.2264, allocations: 308.3 kB / 397.1 MB, free: 8.941 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.2264, allocations: 11.95 kB / 397.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004065/0.2305, allocations: 245.2 kB / 397.3 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.2307, allocations: 122 kB / 397.4 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2307, allocations: 9.062 kB / 397.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.2307, allocations: 13.45 kB / 397.5 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.231, allocations: 268.4 kB / 397.7 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.231, allocations: 0 / 397.7 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.231, allocations: 6.188 kB / 397.7 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.231, allocations: 0 / 397.7 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.2312, allocations: 89.53 kB / 397.8 MB, free: 8.602 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.0006641/0.2318, allocations: 423.7 kB / 398.2 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.232, allocations: 104.8 kB / 398.3 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.2321, allocations: 46.83 kB / 398.4 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.2321, allocations: 6.531 kB / 398.4 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.2321, allocations: 32.56 kB / 398.4 MB, free: 8.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.904e-06/0.2321, allocations: 0 / 398.4 MB, free: 8.195 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.002981/0.2351, allocations: 0.8381 MB / 399.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.2351, allocations: 58.31 kB / 399.3 MB, free: 7.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.056e-05/0.2352, allocations: 116.2 kB / 399.4 MB, free: 7.703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.2352, allocations: 28.89 kB / 399.5 MB, free: 7.672 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.2352, allocations: 100.5 kB / 399.6 MB, free: 7.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.2353, allocations: 70.12 kB / 399.6 MB, free: 7.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.2353, allocations: 38.38 kB / 399.7 MB, free: 7.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.151e-05/0.2354, allocations: 322.9 kB / 400 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.318e-05/0.2354, allocations: 31.67 kB / 400 MB, free: 7.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/0.2355, allocations: 70.86 kB / 400.1 MB, free: 7.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.2356, allocations: 118 kB / 400.2 MB, free: 7.094 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2356, allocations: 0 / 400.2 MB, free: 7.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002414/0.2359, allocations: 154.6 kB / 400.3 MB, free: 7.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2359, allocations: 5.031 kB / 400.4 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2359, allocations: 8.344 kB / 400.4 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.2361, allocations: 25.31 kB / 400.4 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.2363, allocations: 62.36 kB / 400.4 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.2465, allocations: 1.58 MB / 402 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.2466, allocations: 6 kB / 402 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.4e-05/0.2466, allocations: 14.91 kB / 402 MB, free: 5.516 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 8.056e-05/0.2467, allocations: 128.3 kB / 402.2 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.2467, allocations: 16.28 kB / 402.2 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.247, allocations: 209.3 kB / 402.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.247, allocations: 2.812 kB / 402.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.247, allocations: 4 kB / 402.4 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.247, allocations: 0 / 402.4 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.2473, allocations: 364.1 kB / 402.8 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2474, allocations: 0 / 402.8 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.2475, allocations: 51.05 kB / 402.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.284e-05/0.2476, allocations: 23.33 kB / 402.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.2476, allocations: 5.875 kB / 402.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002931/0.2479, allocations: 1.153 MB / 404 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2479, allocations: 6.531 kB / 404 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.2481, allocations: 307.8 kB / 404.3 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-06/0.2481, allocations: 9.266 kB / 404.3 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.2482, allocations: 10.17 kB / 404.3 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/0.2483, allocations: 9.781 kB / 404.3 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.2483, allocations: 24.41 kB / 404.3 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2483, allocations: 18.36 kB / 404.4 MB, free: 3.594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.478e-05/0.2483, allocations: 14.17 kB / 404.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2483, allocations: 0 / 404.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.2486, allocations: 87.42 kB / 404.5 MB, free: 3.574 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.0002201/0.2488, allocations: 129.7 kB / 404.6 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.249, allocations: 242.6 kB / 404.8 MB, free: 3.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.249, allocations: 7.375 kB / 404.8 MB, free: 3.332 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.072e-05/0.2491, allocations: 180.7 kB / 405 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.2493, allocations: 56.38 kB / 405.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.2499, allocations: 393.9 kB / 405.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.791e-05/0.25, allocations: 66.97 kB / 405.5 MB, free: 2.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.2501, allocations: 60.61 kB / 405.6 MB, free: 2.781 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.2503, allocations: 113.4 kB / 405.7 MB, free: 2.715 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2503, allocations: 0 / 405.7 MB, free: 2.715 MB / 330.7 MB Notification: Performance of Templates: time 0.00615/0.2564, allocations: 6.159 MB / 411.8 MB, free: 15.57 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 -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.889281942974776]