Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001852/0.001852, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.00223/0.00223, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.461/1.461, allocations: 230.2 MB / 255.2 MB, free: 15.39 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.2325/0.2325, allocations: 46.89 MB / 358.1 MB, free: 10.54 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.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [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.002328/0.002328, allocations: 75.88 kB / 0.4924 GB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1241, allocations: 65.98 MB / 0.5568 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4181/0.5422, allocations: 151 MB / 0.7043 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008028/0.5502, allocations: 5.623 MB / 0.7098 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000541/0.5507, allocations: 19.88 kB / 0.7098 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009476/0.5517, allocations: 330 kB / 0.7101 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.5535, allocations: 0.8784 MB / 0.7109 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.5561, allocations: 1.022 MB / 0.7119 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002201/0.5583, allocations: 1.805 MB / 0.7137 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006437/0.559, allocations: 421.3 kB / 0.7141 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.5603, allocations: 0.7785 MB / 0.7149 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.5615, allocations: 0.7514 MB / 0.7156 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.5616, allocations: 60 kB / 0.7157 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.5629, allocations: 0.577 MB / 0.7162 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.5632, allocations: 267.2 kB / 0.7165 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004553/0.5636, allocations: 406.2 kB / 0.7169 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.5652, allocations: 1.179 MB / 0.718 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5652, allocations: 0 / 0.718 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5652, allocations: 0 / 0.718 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.5652, allocations: 0 / 0.718 GB, free: 12.68 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.002175/0.5674, allocations: 1.078 MB / 0.7191 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5675, allocations: 8.031 kB / 0.7191 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/0.5678, allocations: 96.41 kB / 0.7192 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008824/0.5687, allocations: 0.5331 MB / 0.7197 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.5688, allocations: 108.9 kB / 0.7198 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.103e-05/0.5689, allocations: 48.56 kB / 0.7198 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.5703, allocations: 0.8188 MB / 0.7206 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.5703, allocations: 7.938 kB / 0.7207 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.5704, allocations: 20 kB / 0.7207 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.985e-05/0.5704, allocations: 48.92 kB / 0.7207 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.5716, allocations: 0.6555 MB / 0.7214 GB, free: 9.098 MB / 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.004923/0.5765, allocations: 3.944 MB / 0.7252 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008592/0.5774, allocations: 408.9 kB / 0.7256 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.5777, allocations: 189.4 kB / 0.7258 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/0.5784, allocations: 0.7366 MB / 0.7265 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.993e-05/0.5785, allocations: 42.83 kB / 0.7265 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.5785, allocations: 4 kB / 0.7265 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003413/0.5819, allocations: 1.55 MB / 0.7281 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.582, allocations: 136.5 kB / 0.7282 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007278/0.5827, allocations: 0.5771 MB / 0.7288 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.5828, allocations: 37.7 kB / 0.7288 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.583, allocations: 359.9 kB / 0.7291 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.5832, allocations: 162.6 kB / 0.7293 GB, free: 396 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.5834, allocations: 146.6 kB / 0.7294 GB, free: 244 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.5836, allocations: 374.8 kB / 0.7298 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.584, allocations: 221.5 kB / 0.73 GB, free: 15.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/0.5846, allocations: 0.5123 MB / 0.7305 GB, free: 15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.5857, allocations: 0.7601 MB / 0.7312 GB, free: 14.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.5857, allocations: 4 kB / 0.7312 GB, free: 14.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001717/0.5874, allocations: 0.9098 MB / 0.7321 GB, free: 13.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5875, allocations: 11.94 kB / 0.7321 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.5875, allocations: 12 kB / 0.7322 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.5889, allocations: 287.4 kB / 0.7324 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.5893, allocations: 115.8 kB / 0.7325 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.5904, allocations: 0.8879 MB / 0.7334 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.5909, allocations: 28 kB / 0.7334 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/0.5909, allocations: 37.94 kB / 0.7335 GB, free: 11.79 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.0003612/0.5913, allocations: 264 kB / 0.7337 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.5914, allocations: 67.58 kB / 0.7338 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.5928, allocations: 0.7704 MB / 0.7345 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.5928, allocations: 4 kB / 0.7345 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5928, allocations: 0 / 0.7345 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.5928, allocations: 4 kB / 0.7345 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.595, allocations: 1.413 MB / 0.7359 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.595, allocations: 0 / 0.7359 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.596, allocations: 199.8 kB / 0.7361 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.695e-05/0.5961, allocations: 32.97 kB / 0.7361 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.5962, allocations: 15.98 kB / 0.7362 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/0.5986, allocations: 2.87 MB / 0.739 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5987, allocations: 7.969 kB / 0.739 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.6002, allocations: 1.017 MB / 0.74 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.6005, allocations: 212.5 kB / 0.7402 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.6006, allocations: 12 kB / 0.7402 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.601, allocations: 19.98 kB / 0.7402 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.6011, allocations: 43.89 kB / 0.7402 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/0.6011, allocations: 23.98 kB / 0.7403 GB, free: 4.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005546/0.6017, allocations: 427 kB / 0.7407 GB, free: 3.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.6017, allocations: 0 / 0.7407 GB, free: 3.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008365/0.6025, allocations: 227.8 kB / 0.7409 GB, free: 3.707 MB / 0.545 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.0005843/0.6031, allocations: 252.1 kB / 0.7411 GB, free: 3.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.6044, allocations: 0.5795 MB / 0.7417 GB, free: 2.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6044, allocations: 3.859 kB / 0.7417 GB, free: 2.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.6055, allocations: 430.6 kB / 0.7421 GB, free: 2.449 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.6072, allocations: 387.4 kB / 0.7425 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.6095, allocations: 1.426 MB / 0.7439 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.6101, allocations: 0.9307 MB / 0.7448 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.6103, allocations: 75.36 kB / 0.7448 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of SimCode: time 6.32e-07/0.6103, allocations: 0 / 0.7448 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.02265/0.633, allocations: 16.03 MB / 0.7605 GB, free: 15.61 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 11.332104616099969]