Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001583/0.001583, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.001656/0.001656, allocations: 201.8 kB / 25.13 MB, free: 3.578 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.425/1.425, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2273/0.2273, allocations: 46.93 MB / 362 MB, free: 4.238 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.IdealGases.Air,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.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_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [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.002292/0.002292, allocations: 83.86 kB / 0.4978 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3122, allocations: 66.09 MB / 0.5623 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2075/0.5196, allocations: 175.7 MB / 0.7339 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3067/0.8263, allocations: 5.312 MB / 0.7391 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006261/0.8269, allocations: 30.31 kB / 0.7391 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000892/0.8278, allocations: 322.9 kB / 0.7394 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.831, allocations: 1.301 MB / 0.7407 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.8334, allocations: 0.9869 MB / 0.7417 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002233/0.8357, allocations: 1.882 MB / 0.7435 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005816/0.8362, allocations: 390.5 kB / 0.7439 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.8382, allocations: 1.117 MB / 0.745 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000913/0.8391, allocations: 0.7073 MB / 0.7457 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.8393, allocations: 59.81 kB / 0.7457 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.8405, allocations: 0.5662 MB / 0.7463 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.8407, allocations: 268.7 kB / 0.7465 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.8412, allocations: 401.5 kB / 0.7469 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.8427, allocations: 1.299 MB / 0.7482 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.8427, allocations: 3.453 kB / 0.7482 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8427, allocations: 0 / 0.7482 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.078e-05/0.8427, allocations: 2.906 kB / 0.7482 GB, free: 1.664 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.002207/0.8449, allocations: 1.045 MB / 0.7492 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.845, allocations: 9.719 kB / 0.7492 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007824/0.8457, allocations: 142.8 kB / 0.7493 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/0.8466, allocations: 482.8 kB / 0.7498 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.8467, allocations: 151.5 kB / 0.7499 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.8468, allocations: 51.3 kB / 0.75 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.848, allocations: 1.146 MB / 0.7511 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.8481, allocations: 3.094 kB / 0.7511 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.8481, allocations: 25.75 kB / 0.7511 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.8482, allocations: 41.44 kB / 0.7512 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008668/0.849, allocations: 0.6162 MB / 0.7518 GB, free: 16.14 MB / 0.5762 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.004111/0.8532, allocations: 3.889 MB / 0.7556 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.8536, allocations: 334.6 kB / 0.7559 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.8539, allocations: 169.5 kB / 0.7561 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.758e-05/0.854, allocations: 13.53 kB / 0.7561 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.854, allocations: 41.39 kB / 0.7561 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.854, allocations: 0 / 0.7561 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.004961/0.859, allocations: 1.607 MB / 0.7577 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/0.859, allocations: 139.6 kB / 0.7578 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/0.8596, allocations: 0.6116 MB / 0.7584 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.8597, allocations: 35.02 kB / 0.7585 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.8599, allocations: 378.4 kB / 0.7588 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.86, allocations: 152.2 kB / 0.759 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.8602, allocations: 156.5 kB / 0.7591 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.8603, allocations: 378.6 kB / 0.7595 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.8606, allocations: 200.5 kB / 0.7597 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.8612, allocations: 0.5888 MB / 0.7602 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008952/0.8621, allocations: 0.7488 MB / 0.761 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8621, allocations: 6.031 kB / 0.761 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001274/0.8634, allocations: 0.88 MB / 0.7618 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8634, allocations: 11.28 kB / 0.7618 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.8634, allocations: 14.44 kB / 0.7619 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.8647, allocations: 304.3 kB / 0.7621 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.8651, allocations: 124 kB / 0.7623 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.8661, allocations: 0.9363 MB / 0.7632 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/0.8666, allocations: 34.73 kB / 0.7632 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.8666, allocations: 68.52 kB / 0.7633 GB, free: 10.65 MB / 0.5762 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.0003215/0.867, allocations: 240.6 kB / 0.7635 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.8671, allocations: 72.25 kB / 0.7636 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.8685, allocations: 0.8673 MB / 0.7644 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.8685, allocations: 7.344 kB / 0.7644 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8685, allocations: 0.9375 kB / 0.7644 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.8686, allocations: 6.219 kB / 0.7644 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.8703, allocations: 1.208 MB / 0.7656 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8703, allocations: 3.219 kB / 0.7656 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.8714, allocations: 210 kB / 0.7658 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.742e-05/0.8714, allocations: 22.72 kB / 0.7658 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.8715, allocations: 23.31 kB / 0.7659 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.8736, allocations: 2.667 MB / 0.7685 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8736, allocations: 2.719 kB / 0.7685 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.8748, allocations: 0.8232 MB / 0.7693 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.8751, allocations: 114.4 kB / 0.7694 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.797e-05/0.8752, allocations: 12.88 kB / 0.7694 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.8756, allocations: 22.3 kB / 0.7694 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.8757, allocations: 40.56 kB / 0.7695 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.752e-05/0.8757, allocations: 42.03 kB / 0.7695 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004741/0.8762, allocations: 439 kB / 0.7699 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.8762, allocations: 0 / 0.7699 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008847/0.8771, allocations: 265.7 kB / 0.7702 GB, free: 7.172 MB / 0.5762 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.000606/0.8777, allocations: 278 kB / 0.7704 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.8787, allocations: 0.5357 MB / 0.771 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8788, allocations: 3.438 kB / 0.771 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009493/0.8797, allocations: 409.6 kB / 0.7713 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.8812, allocations: 375.5 kB / 0.7717 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.8833, allocations: 1.351 MB / 0.773 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.8838, allocations: 0.9283 MB / 0.7739 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008933/0.8847, allocations: 462.5 kB / 0.7744 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.885, allocations: 109.4 kB / 0.7745 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.885, allocations: 0 / 0.7745 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of Templates: time 0.02793/0.9129, allocations: 18.12 MB / 0.7922 GB, free: 1.359 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.072502892930061]