Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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.001042/0.001042, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001081/0.001081, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9783/0.9783, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.16/0.16, allocations: 32.37 MB / 270.7 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.802e-05, allocations: 5.406 kB / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2979/0.2979, allocations: 140.8 MB / 488.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009017/0.2988, allocations: 0.969 MB / 489.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.2989, allocations: 4 kB / 489.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.2992, allocations: 27.47 kB / 489.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006497/0.2998, allocations: 245.2 kB / 490.2 MB, free: 9.961 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.3001, allocations: 127.5 kB / 490.3 MB, free: 9.914 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3003, allocations: 174.4 kB / 490.5 MB, free: 9.848 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.3003, allocations: 5.25 kB / 490.5 MB, free: 9.848 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.3005, allocations: 114.1 kB / 490.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.3006, allocations: 46.25 kB / 490.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.3006, allocations: 2.5 kB / 490.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.301, allocations: 252.3 kB / 490.9 MB, free: 9.734 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.3011, allocations: 22.5 kB / 490.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.3011, allocations: 41.05 kB / 490.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.3015, allocations: 307.2 kB / 491.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3015, allocations: 0 / 491.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3015, allocations: 0 / 491.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3015, allocations: 0 / 491.2 MB, free: 9.613 MB / 362.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.0003982/0.3019, allocations: 440.8 kB / 491.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.302, allocations: 8.688 kB / 491.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009786/0.303, allocations: 203 kB / 491.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.3031, allocations: 156 kB / 492 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3032, allocations: 6.438 kB / 492 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.3032, allocations: 12.09 kB / 492 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3034, allocations: 282.6 kB / 492.3 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3034, allocations: 0 / 492.3 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.3035, allocations: 3.375 kB / 492.3 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3035, allocations: 6.359 kB / 492.3 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.3036, allocations: 101.7 kB / 492.4 MB, free: 8.707 MB / 362.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.0005896/0.3042, allocations: 0.6257 MB / 493.1 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.3044, allocations: 115.3 kB / 493.2 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.3044, allocations: 51.55 kB / 493.2 MB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.3045, allocations: 5.5 kB / 493.2 MB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3045, allocations: 39.52 kB / 493.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.3045, allocations: 0 / 493.3 MB, free: 8.031 MB / 362.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.002289/0.3068, allocations: 0.8661 MB / 494.1 MB, free: 7.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.3068, allocations: 54.19 kB / 494.2 MB, free: 7.527 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.3069, allocations: 178.4 kB / 494.4 MB, free: 7.352 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3069, allocations: 28.42 kB / 494.4 MB, free: 7.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.3069, allocations: 148.3 kB / 494.5 MB, free: 7.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.307, allocations: 70.89 kB / 494.6 MB, free: 7.129 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.307, allocations: 55.28 kB / 494.7 MB, free: 7.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.072e-05/0.3071, allocations: 0.494 MB / 495.1 MB, free: 6.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.419e-05/0.3072, allocations: 39 kB / 495.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.3072, allocations: 78.16 kB / 495.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.3074, allocations: 137.1 kB / 495.4 MB, free: 6.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3074, allocations: 0 / 495.4 MB, free: 6.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003234/0.3077, allocations: 213.1 kB / 495.6 MB, free: 6.391 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3077, allocations: 10.02 kB / 495.6 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3077, allocations: 2.531 kB / 495.6 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.3079, allocations: 60.95 kB / 495.7 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.3081, allocations: 50.5 kB / 495.7 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002473/0.3084, allocations: 0.8054 MB / 496.5 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.3084, allocations: 9.906 kB / 496.5 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.3085, allocations: 17.77 kB / 496.6 MB, free: 5.535 MB / 362.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 7.65e-05/0.3085, allocations: 166.6 kB / 496.7 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.3086, allocations: 16.36 kB / 496.7 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.3089, allocations: 250.8 kB / 497 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3089, allocations: 2.906 kB / 497 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3089, allocations: 3.938 kB / 497 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3089, allocations: 3.984 kB / 497 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.3094, allocations: 0.5127 MB / 497.5 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3094, allocations: 3.938 kB / 497.5 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.3096, allocations: 56.62 kB / 497.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.846e-05/0.3096, allocations: 19.98 kB / 497.6 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3096, allocations: 12.8 kB / 497.6 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004789/0.3101, allocations: 1.711 MB / 499.3 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3101, allocations: 2.312 kB / 499.3 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.3104, allocations: 412.2 kB / 499.7 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.3104, allocations: 13.34 kB / 499.7 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3105, allocations: 5.656 kB / 499.7 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/0.3106, allocations: 10.09 kB / 499.7 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.3106, allocations: 27.25 kB / 499.8 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.3106, allocations: 20.98 kB / 499.8 MB, free: 2.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.736e-05/0.3106, allocations: 128.2 kB / 499.9 MB, free: 2.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3106, allocations: 0 / 499.9 MB, free: 2.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.3109, allocations: 81.47 kB / 500 MB, free: 2.676 MB / 362.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.0002503/0.3112, allocations: 152.9 kB / 0.4884 GB, free: 2.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3114, allocations: 148.7 kB / 0.4886 GB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3114, allocations: 0 / 0.4886 GB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.3116, allocations: 261.6 kB / 0.4888 GB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.3118, allocations: 60.97 kB / 0.4889 GB, free: 2.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007874/0.3126, allocations: 407.2 kB / 0.4893 GB, free: 1.977 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.276e-05/0.3127, allocations: 66.91 kB / 0.4893 GB, free: 1.902 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.3128, allocations: 65.2 kB / 0.4894 GB, free: 1.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.313, allocations: 143.3 kB / 0.4895 GB, free: 1.777 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.313, allocations: 0 / 0.4895 GB, free: 1.777 MB / 362.7 MB Notification: Performance of Templates: time 0.008067/0.3211, allocations: 5.892 MB / 0.4953 GB, free: 14.75 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/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.553398997988552]