Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006924/0.006924, allocations: 105.5 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001978/0.001978, allocations: 214.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.5 MB / 258.9 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2224/0.2224, allocations: 46.93 MB / 362.3 MB, free: 4.18 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 79.86 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.322, allocations: 66.08 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1877/0.5097, allocations: 152.9 MB / 0.7121 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.5119, allocations: 1.604 MB / 0.7136 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.5119, allocations: 0 / 0.7136 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.5123, allocations: 55.72 kB / 0.7137 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.5134, allocations: 426 kB / 0.7141 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.5139, allocations: 171 kB / 0.7143 GB, free: 8.461 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.5141, allocations: 183.3 kB / 0.7144 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.5142, allocations: 11.92 kB / 0.7144 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.5143, allocations: 83.62 kB / 0.7145 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.5145, allocations: 59.81 kB / 0.7146 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.5145, allocations: 4 kB / 0.7146 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.5156, allocations: 0.6392 MB / 0.7152 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.5157, allocations: 35.89 kB / 0.7152 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.5158, allocations: 47.73 kB / 0.7153 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.5164, allocations: 409.6 kB / 0.7157 GB, free: 7.004 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5165, allocations: 0 / 0.7157 GB, free: 7.004 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5165, allocations: 0 / 0.7157 GB, free: 7.004 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.5165, allocations: 0 / 0.7157 GB, free: 7.004 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.000644/0.5171, allocations: 361.8 kB / 0.716 GB, free: 6.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5171, allocations: 12.03 kB / 0.716 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/0.5193, allocations: 196.6 kB / 0.7162 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.5196, allocations: 158 kB / 0.7164 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.5196, allocations: 8 kB / 0.7164 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.5196, allocations: 8 kB / 0.7164 GB, free: 6.223 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.5201, allocations: 205.4 kB / 0.7166 GB, free: 6.016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.5202, allocations: 4 kB / 0.7166 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.5202, allocations: 4 kB / 0.7166 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.5202, allocations: 11.88 kB / 0.7166 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00062/0.5208, allocations: 231.8 kB / 0.7168 GB, free: 5.77 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.001796/0.5226, allocations: 0.6018 MB / 0.7174 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.5231, allocations: 182.4 kB / 0.7176 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.5233, allocations: 92.81 kB / 0.7177 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.5234, allocations: 15.98 kB / 0.7177 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.5235, allocations: 30.56 kB / 0.7177 GB, free: 4.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.5235, allocations: 4 kB / 0.7177 GB, free: 4.785 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.005837/0.5293, allocations: 1.399 MB / 0.7191 GB, free: 3.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.5293, allocations: 51.41 kB / 0.7191 GB, free: 3.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.5294, allocations: 113.8 kB / 0.7192 GB, free: 3.129 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.5295, allocations: 25.7 kB / 0.7193 GB, free: 3.098 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.5295, allocations: 100.4 kB / 0.7194 GB, free: 2.996 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/0.5296, allocations: 79.34 kB / 0.7194 GB, free: 2.918 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.5297, allocations: 41.7 kB / 0.7195 GB, free: 2.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5299, allocations: 330.8 kB / 0.7198 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.5301, allocations: 87.95 kB / 0.7199 GB, free: 2.453 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.5303, allocations: 123.3 kB / 0.72 GB, free: 2.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.5308, allocations: 230.2 kB / 0.7202 GB, free: 2.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5308, allocations: 4 kB / 0.7202 GB, free: 2.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006563/0.5315, allocations: 274.3 kB / 0.7205 GB, free: 1.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.5315, allocations: 8 kB / 0.7205 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5315, allocations: 4.094 kB / 0.7205 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/0.5316, allocations: 28.83 kB / 0.7205 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.5321, allocations: 51.91 kB / 0.7206 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004247/0.5325, allocations: 0.5329 MB / 0.7211 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.5328, allocations: 16.06 kB / 0.7211 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.5328, allocations: 12.3 kB / 0.7211 GB, free: 1.125 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.0001358/0.533, allocations: 125.7 kB / 0.7212 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.533, allocations: 11.95 kB / 0.7213 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007844/0.5338, allocations: 321.2 kB / 0.7216 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.5338, allocations: 7.984 kB / 0.7216 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5338, allocations: 0 / 0.7216 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5338, allocations: 0 / 0.7216 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.5351, allocations: 0.6534 MB / 0.7222 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.5351, allocations: 8 kB / 0.7222 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.5355, allocations: 43.97 kB / 0.7223 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.103e-05/0.5356, allocations: 16.84 kB / 0.7223 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.5356, allocations: 11.98 kB / 0.7223 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.5367, allocations: 1.264 MB / 0.7235 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.5367, allocations: 4.062 kB / 0.7235 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008976/0.5376, allocations: 450.7 kB / 0.7239 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.5376, allocations: 7.984 kB / 0.724 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.5377, allocations: 8 kB / 0.724 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.538, allocations: 11.98 kB / 0.724 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.538, allocations: 19.91 kB / 0.724 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.538, allocations: 15.92 kB / 0.724 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.639e-05/0.5381, allocations: 83.28 kB / 0.7241 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5381, allocations: 0 / 0.7241 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005357/0.5386, allocations: 135.7 kB / 0.7242 GB, free: 13.73 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.000669/0.5393, allocations: 258.8 kB / 0.7245 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006876/0.54, allocations: 239.5 kB / 0.7247 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.54, allocations: 0 / 0.7247 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.5404, allocations: 226.6 kB / 0.7249 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.5409, allocations: 48.52 kB / 0.725 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009585/0.5418, allocations: 0.5093 MB / 0.7255 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.5422, allocations: 0.7086 MB / 0.7261 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.5424, allocations: 23.42 kB / 0.7262 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.5424, allocations: 0 / 0.7262 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.009022/0.5514, allocations: 5.191 MB / 0.7312 GB, free: 6.445 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.703274370869622]