Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001037/0.001037, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.001234/0.001234, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9297/0.9297, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2504/0.2504, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.681e-05, allocations: 6.25 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3002/0.3003, allocations: 145.3 MB / 0.511 GB, free: 17.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3013, allocations: 1.072 MB / 0.5121 GB, free: 16.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.3014, allocations: 3.938 kB / 0.5121 GB, free: 16.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.3017, allocations: 28.86 kB / 0.5121 GB, free: 16.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007007/0.3024, allocations: 283.7 kB / 0.5124 GB, free: 16.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.3027, allocations: 117 kB / 0.5125 GB, free: 16.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.3029, allocations: 182.6 kB / 0.5127 GB, free: 16.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.3029, allocations: 7.75 kB / 0.5127 GB, free: 16.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.3031, allocations: 119.2 kB / 0.5128 GB, free: 16.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.3032, allocations: 51.45 kB / 0.5128 GB, free: 16.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3032, allocations: 5.844 kB / 0.5128 GB, free: 16.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.3037, allocations: 260.7 kB / 0.5131 GB, free: 16.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.3037, allocations: 22.23 kB / 0.5131 GB, free: 16.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.3038, allocations: 35.42 kB / 0.5131 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004231/0.3042, allocations: 307.3 kB / 0.5134 GB, free: 16.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3042, allocations: 0 / 0.5134 GB, free: 16.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3042, allocations: 0 / 0.5134 GB, free: 16.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.3042, allocations: 4 kB / 0.5134 GB, free: 16.42 MB / 410.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.0004019/0.3046, allocations: 438.4 kB / 0.5139 GB, free: 16.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3047, allocations: 8.781 kB / 0.5139 GB, free: 16.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.3058, allocations: 213.3 kB / 0.5141 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.306, allocations: 151.8 kB / 0.5142 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3061, allocations: 10.89 kB / 0.5142 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.3061, allocations: 15.09 kB / 0.5142 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.3064, allocations: 291.6 kB / 0.5145 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3064, allocations: 7.469 kB / 0.5145 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.3064, allocations: 0 / 0.5145 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3065, allocations: 6.766 kB / 0.5145 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.3067, allocations: 124.8 kB / 0.5146 GB, free: 15.59 MB / 410.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.0006564/0.3073, allocations: 0.6335 MB / 0.5153 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.3075, allocations: 128.5 kB / 0.5154 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.788e-05/0.3076, allocations: 67.97 kB / 0.5155 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3076, allocations: 3.266 kB / 0.5155 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.3076, allocations: 36.89 kB / 0.5155 GB, free: 14.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.3076, allocations: 0 / 0.5155 GB, free: 14.88 MB / 410.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.002626/0.3103, allocations: 0.9713 MB / 0.5164 GB, free: 14.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.3103, allocations: 58.19 kB / 0.5165 GB, free: 14.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.3103, allocations: 167.5 kB / 0.5167 GB, free: 14.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3104, allocations: 28.27 kB / 0.5167 GB, free: 14.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.3104, allocations: 147.5 kB / 0.5168 GB, free: 14.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.3104, allocations: 70.45 kB / 0.5169 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.3105, allocations: 58.02 kB / 0.5169 GB, free: 13.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.3106, allocations: 0.4939 MB / 0.5174 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.865e-05/0.3106, allocations: 47.75 kB / 0.5175 GB, free: 13.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.3107, allocations: 97.44 kB / 0.5176 GB, free: 13.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.3109, allocations: 148.3 kB / 0.5177 GB, free: 13.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3109, allocations: 0 / 0.5177 GB, free: 13.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002673/0.3111, allocations: 222 kB / 0.5179 GB, free: 13.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3111, allocations: 9.219 kB / 0.5179 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3111, allocations: 11.27 kB / 0.5179 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.3113, allocations: 37.62 kB / 0.518 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.3115, allocations: 54.47 kB / 0.518 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002154/0.3117, allocations: 0.8036 MB / 0.5188 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.722e-05/0.3117, allocations: 4.641 kB / 0.5188 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.3118, allocations: 24.25 kB / 0.5188 GB, free: 12.36 MB / 410.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.782e-05/0.3118, allocations: 170.3 kB / 0.519 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.3119, allocations: 16.77 kB / 0.519 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.3123, allocations: 267.8 kB / 0.5193 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3123, allocations: 6.344 kB / 0.5193 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3123, allocations: 0 / 0.5193 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3123, allocations: 3.938 kB / 0.5193 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.3128, allocations: 0.5386 MB / 0.5198 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3128, allocations: 14.5 kB / 0.5198 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.3129, allocations: 53.3 kB / 0.5199 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.324e-05/0.313, allocations: 17.98 kB / 0.5199 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.313, allocations: 16.33 kB / 0.5199 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004762/0.3135, allocations: 1.726 MB / 0.5216 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3135, allocations: 0 / 0.5216 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.3138, allocations: 437.8 kB / 0.522 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.659e-06/0.3138, allocations: 6.516 kB / 0.522 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.3139, allocations: 13.25 kB / 0.522 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.314, allocations: 7.344 kB / 0.522 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.314, allocations: 32.5 kB / 0.5221 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.314, allocations: 16.64 kB / 0.5221 GB, free: 9.566 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.892e-05/0.314, allocations: 132.9 kB / 0.5222 GB, free: 9.445 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.314, allocations: 0 / 0.5222 GB, free: 9.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.3143, allocations: 78.88 kB / 0.5223 GB, free: 9.434 MB / 410.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.000263/0.3146, allocations: 157.6 kB / 0.5224 GB, free: 9.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.3149, allocations: 179.1 kB / 0.5226 GB, free: 9.273 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3149, allocations: 4.188 kB / 0.5226 GB, free: 9.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.3151, allocations: 269.8 kB / 0.5229 GB, free: 9.066 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.3153, allocations: 57.3 kB / 0.5229 GB, free: 9.051 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007905/0.3161, allocations: 406.6 kB / 0.5233 GB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.3162, allocations: 70.89 kB / 0.5234 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.3163, allocations: 60.66 kB / 0.5234 GB, free: 8.664 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.682e-05/0.3164, allocations: 39.86 kB / 0.5235 GB, free: 8.652 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3164, allocations: 0 / 0.5235 GB, free: 8.652 MB / 410.7 MB Notification: Performance of Templates: time 0.006554/0.323, allocations: 5.347 MB / 0.5287 GB, free: 8.184 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.502244730014354]