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.001338/0.001338, allocations: 117.4 kB / 18.45 MB, free: 4.562 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.001458/0.001458, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.592/1.592, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2267/0.2267, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 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.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.00278/0.00278, allocations: 75.89 kB / 0.4921 GB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1387, allocations: 65.99 MB / 0.5565 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4394/0.578, allocations: 152.9 MB / 0.7058 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.5803, allocations: 1.604 MB / 0.7074 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.414e-05/0.5804, allocations: 3.938 kB / 0.7074 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.5808, allocations: 51.72 kB / 0.7074 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.582, allocations: 414.1 kB / 0.7078 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.5826, allocations: 163.4 kB / 0.708 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000324/0.5829, allocations: 183.2 kB / 0.7082 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.859e-05/0.583, allocations: 14.52 kB / 0.7082 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.5832, allocations: 75.75 kB / 0.7082 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.5834, allocations: 71.67 kB / 0.7083 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.5834, allocations: 4 kB / 0.7083 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.5846, allocations: 0.6197 MB / 0.7089 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.656e-05/0.5847, allocations: 31.91 kB / 0.709 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.5848, allocations: 43.84 kB / 0.709 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008553/0.5856, allocations: 407.3 kB / 0.7094 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5856, allocations: 0 / 0.7094 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5856, allocations: 0 / 0.7094 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5856, allocations: 4 kB / 0.7094 GB, free: 4.711 MB / 0.5137 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.0007036/0.5863, allocations: 442.8 kB / 0.7098 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.5864, allocations: 8.031 kB / 0.7098 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/0.5888, allocations: 197.1 kB / 0.71 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.5891, allocations: 208.2 kB / 0.7102 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.5891, allocations: 15.94 kB / 0.7102 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.5892, allocations: 4 kB / 0.7102 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.5897, allocations: 199.4 kB / 0.7104 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.5897, allocations: 7.984 kB / 0.7104 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.5897, allocations: 0 / 0.7104 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5897, allocations: 0 / 0.7104 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006298/0.5904, allocations: 239.7 kB / 0.7107 GB, free: 3.328 MB / 0.5137 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.0019/0.5923, allocations: 0.6644 MB / 0.7113 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.5928, allocations: 187 kB / 0.7115 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.593, allocations: 94.59 kB / 0.7116 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.5931, allocations: 93.03 kB / 0.7117 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.5932, allocations: 42.5 kB / 0.7117 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.5932, allocations: 0 / 0.7117 GB, free: 2.164 MB / 0.5137 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.006272/0.5995, allocations: 1.541 MB / 0.7132 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.5995, allocations: 55.41 kB / 0.7133 GB, free: 460 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.5996, allocations: 105.8 kB / 0.7134 GB, free: 344 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.5997, allocations: 33.7 kB / 0.7134 GB, free: 304 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.5997, allocations: 104.3 kB / 0.7135 GB, free: 196 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.5998, allocations: 67.38 kB / 0.7136 GB, free: 128 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.5999, allocations: 45.69 kB / 0.7136 GB, free: 76 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6001, allocations: 322.8 kB / 0.7139 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.6003, allocations: 87.95 kB / 0.714 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.6006, allocations: 128.2 kB / 0.7141 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.6011, allocations: 226.4 kB / 0.7143 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6011, allocations: 0 / 0.7143 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007143/0.6018, allocations: 290.2 kB / 0.7146 GB, free: 15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.6018, allocations: 4 kB / 0.7146 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6018, allocations: 0 / 0.7146 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.602, allocations: 20.84 kB / 0.7146 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.6025, allocations: 55.95 kB / 0.7147 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004462/0.6029, allocations: 0.5407 MB / 0.7152 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.6033, allocations: 7.969 kB / 0.7152 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-05/0.6033, allocations: 19.92 kB / 0.7152 GB, free: 14.33 MB / 0.5294 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.0001592/0.6035, allocations: 124 kB / 0.7154 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.6035, allocations: 11.95 kB / 0.7154 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008231/0.6044, allocations: 312.9 kB / 0.7157 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.6044, allocations: 7.938 kB / 0.7157 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6044, allocations: 0 / 0.7157 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.6044, allocations: 0 / 0.7157 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.6056, allocations: 0.6813 MB / 0.7163 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6056, allocations: 4 kB / 0.7163 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.6061, allocations: 47.91 kB / 0.7164 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-05/0.6062, allocations: 24.94 kB / 0.7164 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.6062, allocations: 11.98 kB / 0.7164 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.6074, allocations: 1.368 MB / 0.7178 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6074, allocations: 0 / 0.7178 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.6083, allocations: 456.5 kB / 0.7182 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.6084, allocations: 89.09 kB / 0.7183 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.6084, allocations: 4 kB / 0.7183 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.6088, allocations: 11.98 kB / 0.7183 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.6088, allocations: 15.97 kB / 0.7183 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.6088, allocations: 12.06 kB / 0.7183 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.813e-05/0.6089, allocations: 91.27 kB / 0.7184 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6089, allocations: 0 / 0.7184 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005923/0.6095, allocations: 139.6 kB / 0.7185 GB, free: 10.67 MB / 0.5294 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.0007663/0.6103, allocations: 254.7 kB / 0.7188 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007007/0.611, allocations: 234.6 kB / 0.719 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.611, allocations: 0 / 0.719 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004574/0.6114, allocations: 230.8 kB / 0.7192 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.6119, allocations: 42.89 kB / 0.7193 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.6129, allocations: 0.5112 MB / 0.7198 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.6133, allocations: 0.7046 MB / 0.7205 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.6135, allocations: 27.42 kB / 0.7205 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.6135, allocations: 0 / 0.7205 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of Templates: time 0.009886/0.6233, allocations: 5.199 MB / 0.7256 GB, free: 3.406 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/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: 8.874374361999799]