Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.002039/0.002039, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002909/0.002909, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.616/1.616, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.2555/0.2555, allocations: 46.94 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 63.91 kB / 0.4966 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3873, allocations: 66.04 MB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1974/0.5846, allocations: 152.9 MB / 0.7105 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.5869, allocations: 1.596 MB / 0.712 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.587, allocations: 7.938 kB / 0.712 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.5874, allocations: 47.72 kB / 0.7121 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.5884, allocations: 422 kB / 0.7125 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.5889, allocations: 177.6 kB / 0.7126 GB, free: 8.648 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.5892, allocations: 187.2 kB / 0.7128 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.5892, allocations: 7.938 kB / 0.7128 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.5894, allocations: 83.69 kB / 0.7129 GB, free: 8.375 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.5896, allocations: 63.75 kB / 0.713 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.5896, allocations: 4 kB / 0.713 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.5908, allocations: 0.6275 MB / 0.7136 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.5909, allocations: 35.89 kB / 0.7136 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.318e-05/0.5909, allocations: 51.8 kB / 0.7137 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006761/0.5916, allocations: 414.6 kB / 0.7141 GB, free: 7.191 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5916, allocations: 0 / 0.7141 GB, free: 7.191 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5916, allocations: 0 / 0.7141 GB, free: 7.191 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.5916, allocations: 0 / 0.7141 GB, free: 7.191 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006488/0.5923, allocations: 361.8 kB / 0.7144 GB, free: 6.809 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5923, allocations: 8.031 kB / 0.7144 GB, free: 6.801 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.5945, allocations: 200.6 kB / 0.7146 GB, free: 6.605 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.5948, allocations: 158 kB / 0.7148 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5948, allocations: 12 kB / 0.7148 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.5949, allocations: 4 kB / 0.7148 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005345/0.5954, allocations: 207.1 kB / 0.715 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.5954, allocations: 3.984 kB / 0.715 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.5955, allocations: 7.922 kB / 0.715 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.5955, allocations: 11.94 kB / 0.715 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006778/0.5961, allocations: 231.8 kB / 0.7152 GB, free: 5.953 MB / 0.545 GB 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.001855/0.598, allocations: 0.5979 MB / 0.7158 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.5985, allocations: 194.5 kB / 0.716 GB, free: 5.113 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.5987, allocations: 88.83 kB / 0.7161 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.5988, allocations: 11.98 kB / 0.7161 GB, free: 5.012 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.5989, allocations: 38.5 kB / 0.7161 GB, free: 4.965 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.552e-06/0.5989, allocations: 0 / 0.7161 GB, free: 4.965 MB / 0.545 GB 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.006143/0.605, allocations: 1.392 MB / 0.7175 GB, free: 3.492 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.6051, allocations: 51.41 kB / 0.7175 GB, free: 3.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.6052, allocations: 109.8 kB / 0.7176 GB, free: 3.312 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.6053, allocations: 29.7 kB / 0.7177 GB, free: 3.277 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.6054, allocations: 100.4 kB / 0.7178 GB, free: 3.176 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.6055, allocations: 71.36 kB / 0.7178 GB, free: 3.105 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.6056, allocations: 41.7 kB / 0.7179 GB, free: 3.059 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002461/0.6059, allocations: 322.8 kB / 0.7182 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.6061, allocations: 95.95 kB / 0.7183 GB, free: 2.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.6064, allocations: 125 kB / 0.7184 GB, free: 2.508 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.6069, allocations: 233.5 kB / 0.7186 GB, free: 2.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6069, allocations: 0 / 0.7186 GB, free: 2.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007115/0.6077, allocations: 285 kB / 0.7189 GB, free: 1.984 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.6077, allocations: 8 kB / 0.7189 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.6077, allocations: 0 / 0.7189 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/0.6079, allocations: 28.94 kB / 0.7189 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.6083, allocations: 47.97 kB / 0.719 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005119/0.6088, allocations: 0.5367 MB / 0.7195 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.6091, allocations: 19.91 kB / 0.7195 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.6092, allocations: 7.938 kB / 0.7195 GB, free: 1.309 MB / 0.545 GB 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 0.000162/0.6093, allocations: 129.9 kB / 0.7196 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.6094, allocations: 7.953 kB / 0.7196 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007701/0.6102, allocations: 317.3 kB / 0.7199 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6102, allocations: 0 / 0.7199 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6102, allocations: 0 / 0.7199 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.6102, allocations: 7.984 kB / 0.72 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.6115, allocations: 0.6458 MB / 0.7206 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6115, allocations: 0 / 0.7206 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.612, allocations: 51.89 kB / 0.7206 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.288e-05/0.6121, allocations: 24.84 kB / 0.7207 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.6121, allocations: 4 kB / 0.7207 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.6133, allocations: 1.272 MB / 0.7219 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6133, allocations: 0 / 0.7219 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008959/0.6142, allocations: 454.8 kB / 0.7223 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.6142, allocations: 7.984 kB / 0.7223 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.6143, allocations: 11.98 kB / 0.7224 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.6146, allocations: 8.062 kB / 0.7224 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.6146, allocations: 15.97 kB / 0.7224 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.6147, allocations: 15.92 kB / 0.7224 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.905e-05/0.6148, allocations: 91.27 kB / 0.7225 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6148, allocations: 0 / 0.7225 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007106/0.6155, allocations: 135.7 kB / 0.7226 GB, free: 13.91 MB / 0.5606 GB 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 (19): * Single equations (assignments): 18 * 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.0008446/0.6163, allocations: 262.7 kB / 0.7229 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007591/0.6171, allocations: 231.6 kB / 0.7231 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6171, allocations: 4 kB / 0.7231 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005005/0.6176, allocations: 230.5 kB / 0.7233 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.6181, allocations: 52.2 kB / 0.7234 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.6192, allocations: 472.4 kB / 0.7238 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.6196, allocations: 0.7086 MB / 0.7245 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002829/0.6199, allocations: 57.61 kB / 0.7246 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.62, allocations: 23.42 kB / 0.7246 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.62, allocations: 0 / 0.7246 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.01699/0.637, allocations: 6.372 MB / 0.7308 GB, free: 5.449 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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: 6.130762348184362]