Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001674/0.001674, allocations: 103.6 kB / 21.19 MB, free: 0.6523 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.002006/0.002006, allocations: 209.2 kB / 24.48 MB, free: 3.957 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.482/1.482, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2344/0.2344, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 76.08 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3978, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1918/0.5896, allocations: 130.3 MB / 0.689 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009448/0.599, allocations: 5.168 MB / 0.6941 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.6001, allocations: 27.75 kB / 0.6941 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.6015, allocations: 318 kB / 0.6944 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003033/0.6046, allocations: 0.8863 MB / 0.6953 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.608, allocations: 1.053 MB / 0.6963 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00297/0.611, allocations: 1.817 MB / 0.6981 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009592/0.6119, allocations: 393.6 kB / 0.6985 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.6139, allocations: 0.7903 MB / 0.6992 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.6161, allocations: 0.7397 MB / 0.6999 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003433/0.6164, allocations: 64 kB / 0.7 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.618, allocations: 483.1 kB / 0.7005 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000518/0.6186, allocations: 271.2 kB / 0.7007 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000884/0.6194, allocations: 342.5 kB / 0.7011 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002455/0.6219, allocations: 1.164 MB / 0.7022 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6219, allocations: 0 / 0.7022 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.295e-06/0.6219, allocations: 0 / 0.7022 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.66e-05/0.6219, allocations: 3.938 kB / 0.7022 GB, free: 3.918 MB / 0.5294 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.003221/0.6252, allocations: 0.9911 MB / 0.7032 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.6252, allocations: 12.03 kB / 0.7032 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004439/0.6257, allocations: 92.42 kB / 0.7033 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.6268, allocations: 486.7 kB / 0.7037 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.627, allocations: 156.4 kB / 0.7039 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.6271, allocations: 56.36 kB / 0.7039 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.6287, allocations: 1.137 MB / 0.705 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.6287, allocations: 7.984 kB / 0.705 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.757e-05/0.6288, allocations: 20 kB / 0.7051 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.714e-05/0.6288, allocations: 40.98 kB / 0.7051 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.63, allocations: 0.6478 MB / 0.7057 GB, free: 64 kB / 0.5294 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.004719/0.6347, allocations: 3.074 MB / 0.7087 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009037/0.6356, allocations: 412.2 kB / 0.7091 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.6359, allocations: 193.4 kB / 0.7093 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/0.6363, allocations: 64.28 kB / 0.7094 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.6363, allocations: 42.89 kB / 0.7094 GB, free: 12.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.805e-06/0.6363, allocations: 0 / 0.7094 GB, free: 12.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.00354/0.6398, allocations: 1.387 MB / 0.7108 GB, free: 10.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.64, allocations: 140.5 kB / 0.7109 GB, free: 10.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006751/0.6406, allocations: 0.5181 MB / 0.7114 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.6407, allocations: 33.7 kB / 0.7114 GB, free: 10.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.641, allocations: 368.4 kB / 0.7118 GB, free: 9.648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.6412, allocations: 178.5 kB / 0.712 GB, free: 9.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.6414, allocations: 138.6 kB / 0.7121 GB, free: 9.332 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.6416, allocations: 374.8 kB / 0.7125 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.642, allocations: 217.9 kB / 0.7127 GB, free: 8.742 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.6428, allocations: 0.5876 MB / 0.7132 GB, free: 7.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.6439, allocations: 0.7562 MB / 0.714 GB, free: 7.109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.6439, allocations: 4 kB / 0.714 GB, free: 7.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001749/0.6457, allocations: 0.9021 MB / 0.7149 GB, free: 6.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.6457, allocations: 8 kB / 0.7149 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.6457, allocations: 11.94 kB / 0.7149 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.6471, allocations: 284 kB / 0.7152 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.6475, allocations: 127.8 kB / 0.7153 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.6486, allocations: 0.884 MB / 0.7161 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.6491, allocations: 31.98 kB / 0.7162 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.6492, allocations: 32 kB / 0.7162 GB, free: 4.797 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004186/0.6496, allocations: 253.5 kB / 0.7164 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.6498, allocations: 63.69 kB / 0.7165 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.6512, allocations: 0.6877 MB / 0.7172 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.6512, allocations: 8 kB / 0.7172 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.6512, allocations: 0 / 0.7172 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.6513, allocations: 7.984 kB / 0.7172 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.6536, allocations: 1.172 MB / 0.7183 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.6536, allocations: 0 / 0.7183 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.6547, allocations: 207.9 kB / 0.7185 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.6548, allocations: 20.84 kB / 0.7186 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.6549, allocations: 15.98 kB / 0.7186 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.6574, allocations: 2.628 MB / 0.7211 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6574, allocations: 0 / 0.7211 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.6591, allocations: 0.9382 MB / 0.7221 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.6595, allocations: 115.5 kB / 0.7222 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.6596, allocations: 8 kB / 0.7222 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.6601, allocations: 19.98 kB / 0.7222 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.6602, allocations: 40.12 kB / 0.7222 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.544e-05/0.6602, allocations: 27.98 kB / 0.7223 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005233/0.6607, allocations: 354.8 kB / 0.7226 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6607, allocations: 0 / 0.7226 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009807/0.6617, allocations: 223.8 kB / 0.7228 GB, free: 13.71 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005973/0.6623, allocations: 251 kB / 0.723 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.6638, allocations: 0.5819 MB / 0.7236 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6638, allocations: 5.453 kB / 0.7236 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.6649, allocations: 438.6 kB / 0.724 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.6665, allocations: 311 kB / 0.7243 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.6693, allocations: 1.421 MB / 0.7257 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.6697, allocations: 333.1 kB / 0.726 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.67, allocations: 63.42 kB / 0.7261 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.67, allocations: 0 / 0.7261 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.3067/0.9767, allocations: 15.5 MB / 0.7412 GB, free: 172.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 10.953392218332738]