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.001444/0.001444, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.001427/0.001427, allocations: 164.8 kB / 25.02 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 1.382/1.382, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.333e-06/1.333e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.074e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2874/0.2875, allocations: 129.5 MB / 379.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.2884, allocations: 0.8764 MB / 380.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.2885, allocations: 6.531 kB / 380.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.2887, allocations: 28.73 kB / 380.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000537/0.2893, allocations: 250.8 kB / 381.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.2896, allocations: 124.2 kB / 381.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.2897, allocations: 172.1 kB / 381.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.161e-05/0.2898, allocations: 7.609 kB / 381.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.29, allocations: 110.9 kB / 381.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.29, allocations: 44.86 kB / 381.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.2901, allocations: 5.188 kB / 381.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000401/0.2905, allocations: 253.8 kB / 381.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.2905, allocations: 21.34 kB / 381.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.2906, allocations: 42.7 kB / 381.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.2909, allocations: 322.6 kB / 382.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.291, allocations: 0 / 382.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.291, allocations: 0 / 382.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.291, allocations: 0 / 382.1 MB, free: 12.57 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.0004042/0.2914, allocations: 335 kB / 382.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.2914, allocations: 12.14 kB / 382.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.2934, allocations: 225.5 kB / 382.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.2936, allocations: 153.2 kB / 382.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2937, allocations: 3.969 kB / 382.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.2937, allocations: 11.59 kB / 382.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.2942, allocations: 307.3 kB / 383.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2942, allocations: 0 / 383.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.2942, allocations: 3.312 kB / 383.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2942, allocations: 2.406 kB / 383.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.2946, allocations: 172.6 kB / 383.3 MB, free: 11.97 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.0008344/0.2954, allocations: 0.5116 MB / 383.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.2957, allocations: 133.8 kB / 384 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.2959, allocations: 65.53 kB / 384 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.2959, allocations: 2.688 kB / 384 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.2959, allocations: 38.67 kB / 384.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.2959, allocations: 0 / 384.1 MB, free: 11.51 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.004558/0.3005, allocations: 1.125 MB / 385.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.3005, allocations: 55.55 kB / 385.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.798e-05/0.3005, allocations: 110.1 kB / 385.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3006, allocations: 31.83 kB / 385.4 MB, free: 11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.3006, allocations: 98.36 kB / 385.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.3006, allocations: 69.47 kB / 385.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.3007, allocations: 56.09 kB / 385.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.767e-05/0.3007, allocations: 319.4 kB / 385.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.3009, allocations: 66.98 kB / 386 MB, free: 10.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.301, allocations: 96.39 kB / 386.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.3013, allocations: 184.2 kB / 386.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3013, allocations: 0 / 386.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004112/0.3017, allocations: 261.4 kB / 386.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3017, allocations: 5.906 kB / 386.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3017, allocations: 0 / 386.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.3019, allocations: 35.98 kB / 386.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.3022, allocations: 57.36 kB / 386.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002452/0.3024, allocations: 0.5419 MB / 387.2 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3026, allocations: 8.531 kB / 387.2 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.3026, allocations: 20.62 kB / 387.2 MB, free: 9.879 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 8.205e-05/0.3027, allocations: 126.5 kB / 387.3 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.3028, allocations: 18.27 kB / 387.3 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005935/0.3034, allocations: 298.4 kB / 387.6 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3034, allocations: 3.625 kB / 387.6 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3034, allocations: 4.719 kB / 387.6 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3034, allocations: 3.25 kB / 387.6 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/0.3041, allocations: 0.5177 MB / 388.1 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3041, allocations: 2.938 kB / 388.2 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.3045, allocations: 54 kB / 388.2 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.141e-05/0.3045, allocations: 31.12 kB / 388.2 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.3046, allocations: 9.828 kB / 388.2 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000561/0.3051, allocations: 1.24 MB / 389.5 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3051, allocations: 2.438 kB / 389.5 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.3057, allocations: 417.4 kB / 389.9 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.3057, allocations: 6.266 kB / 389.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.3057, allocations: 6.25 kB / 389.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.306, allocations: 10.77 kB / 389.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.306, allocations: 23.81 kB / 389.9 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.3061, allocations: 21.45 kB / 390 MB, free: 8.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.091e-05/0.3061, allocations: 90.73 kB / 390 MB, free: 7.957 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3061, allocations: 1.203 kB / 390.1 MB, free: 7.957 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003774/0.3065, allocations: 83.34 kB / 390.1 MB, free: 7.949 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.0003161/0.3068, allocations: 148.7 kB / 390.3 MB, free: 7.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004298/0.3072, allocations: 189.4 kB / 390.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3072, allocations: 0 / 390.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.3075, allocations: 211.7 kB / 390.7 MB, free: 7.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.3079, allocations: 57.5 kB / 390.7 MB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.3085, allocations: 400.4 kB / 391.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.762e-05/0.3086, allocations: 89.23 kB / 391.2 MB, free: 7.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002463/0.3088, allocations: 63.05 kB / 391.3 MB, free: 7.375 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.309, allocations: 40.56 kB / 391.3 MB, free: 7.363 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.309, allocations: 0 / 391.3 MB, free: 7.363 MB / 330.7 MB Notification: Performance of Templates: time 0.007885/0.3169, allocations: 5.252 MB / 396.6 MB, free: 5.711 MB / 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.666754491976462]