Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001256/0.001256, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00144/0.00144, allocations: 207.1 kB / 23.73 MB, free: 4.391 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.501/1.501, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.241/0.241, allocations: 46.93 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 83.86 kB / 0.4967 GB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3957, allocations: 66.08 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2057/0.6014, allocations: 153.9 MB / 0.7115 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007879/0.6093, allocations: 4.914 MB / 0.7163 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006744/0.61, allocations: 31.69 kB / 0.7163 GB, free: 4.547 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009937/0.611, allocations: 314 kB / 0.7166 GB, free: 4.238 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.6146, allocations: 1.289 MB / 0.7178 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.6174, allocations: 0.9798 MB / 0.7188 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002436/0.6198, allocations: 1.868 MB / 0.7206 GB, free: 104 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006581/0.6205, allocations: 389.6 kB / 0.721 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/0.6229, allocations: 1.133 MB / 0.7221 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.6239, allocations: 0.6812 MB / 0.7228 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.6241, allocations: 60 kB / 0.7228 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.6254, allocations: 0.5462 MB / 0.7234 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.6257, allocations: 271.2 kB / 0.7236 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004074/0.6261, allocations: 342.6 kB / 0.7239 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.628, allocations: 1.3 MB / 0.7252 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.628, allocations: 4 kB / 0.7252 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.984e-06/0.628, allocations: 0 / 0.7252 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.628, allocations: 0 / 0.7252 GB, free: 11.38 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002305/0.6303, allocations: 1.045 MB / 0.7262 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.6303, allocations: 8.031 kB / 0.7262 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008382/0.6312, allocations: 135.4 kB / 0.7264 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009459/0.6321, allocations: 481.3 kB / 0.7268 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.6323, allocations: 167.8 kB / 0.727 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.6324, allocations: 44 kB / 0.727 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.6339, allocations: 1.14 MB / 0.7281 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.6339, allocations: 3.938 kB / 0.7282 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.634, allocations: 27.98 kB / 0.7282 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.466e-05/0.634, allocations: 40.92 kB / 0.7282 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.6352, allocations: 0.6166 MB / 0.7288 GB, free: 7.449 MB / 0.5606 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.004439/0.6396, allocations: 3.219 MB / 0.732 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.6402, allocations: 343.7 kB / 0.7323 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.6405, allocations: 161.3 kB / 0.7324 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.6406, allocations: 16.27 kB / 0.7325 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.6406, allocations: 38.84 kB / 0.7325 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.325e-06/0.6406, allocations: 0 / 0.7325 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005761/0.6464, allocations: 1.598 MB / 0.7341 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.6465, allocations: 140.5 kB / 0.7342 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.6472, allocations: 0.5338 MB / 0.7347 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.6472, allocations: 29.7 kB / 0.7347 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.6475, allocations: 384.2 kB / 0.7351 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.6477, allocations: 150.7 kB / 0.7353 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.6479, allocations: 162.6 kB / 0.7354 GB, free: 468 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.6481, allocations: 366.8 kB / 0.7358 GB, free: 92 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3214/0.9694, allocations: 198.4 kB / 0.7359 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000797/0.9702, allocations: 0.5893 MB / 0.7365 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.9714, allocations: 0.7563 MB / 0.7373 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.9715, allocations: 3.344 kB / 0.7373 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001871/0.9733, allocations: 0.8672 MB / 0.7381 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.9734, allocations: 8.281 kB / 0.7381 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.9734, allocations: 19.47 kB / 0.7381 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.9748, allocations: 306.5 kB / 0.7384 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.9752, allocations: 120.4 kB / 0.7385 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009591/0.9761, allocations: 0.9352 MB / 0.7395 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.9767, allocations: 31.38 kB / 0.7395 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.9768, allocations: 65.78 kB / 0.7395 GB, free: 173.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003403/0.9771, allocations: 241.8 kB / 0.7398 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.9772, allocations: 64.67 kB / 0.7398 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.9787, allocations: 0.8605 MB / 0.7407 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.9787, allocations: 3.906 kB / 0.7407 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9787, allocations: 3.938 kB / 0.7407 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.9787, allocations: 1.969 kB / 0.7407 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.9804, allocations: 1.089 MB / 0.7418 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.9804, allocations: 0 / 0.7418 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00097/0.9814, allocations: 210.1 kB / 0.742 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.654e-05/0.9815, allocations: 24.42 kB / 0.742 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/0.9815, allocations: 23.22 kB / 0.742 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.9833, allocations: 2.632 MB / 0.7446 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9833, allocations: 7.844 kB / 0.7446 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.9844, allocations: 0.8183 MB / 0.7454 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.9846, allocations: 102.9 kB / 0.7455 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/0.9847, allocations: 19.22 kB / 0.7455 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.985, allocations: 15.09 kB / 0.7455 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.9851, allocations: 39.19 kB / 0.7455 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.9852, allocations: 39.56 kB / 0.7456 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004169/0.9856, allocations: 365.8 kB / 0.7459 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9856, allocations: 0 / 0.7459 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00104/0.9867, allocations: 257.2 kB / 0.7462 GB, free: 168 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0006678/0.9873, allocations: 282.2 kB / 0.7464 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.9884, allocations: 0.5227 MB / 0.747 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9884, allocations: 0 / 0.747 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.9893, allocations: 417 kB / 0.7474 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.9905, allocations: 305.4 kB / 0.7476 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.9924, allocations: 1.335 MB / 0.7489 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.9927, allocations: 332.2 kB / 0.7493 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008199/0.9935, allocations: 453 kB / 0.7497 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.9938, allocations: 103.4 kB / 0.7498 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.9938, allocations: 0 / 0.7498 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.02136/1.015, allocations: 16.72 MB / 0.7661 GB, free: 147.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.3827561270445585]