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.00134/0.00134, allocations: 116.9 kB / 19.17 MB, free: 3.91 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.001368/0.001368, allocations: 210.5 kB / 22.13 MB, free: 0.9609 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.499/1.499, allocations: 230.2 MB / 255.2 MB, free: 15.43 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.2448/0.2448, allocations: 46.88 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.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.002291/0.002291, allocations: 77.38 kB / 0.4924 GB, free: 26.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1509, allocations: 65.98 MB / 0.5568 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.615/0.7659, allocations: 177.9 MB / 0.7305 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00817/0.7741, allocations: 5.353 MB / 0.7357 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007326/0.7748, allocations: 19.88 kB / 0.7358 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.7758, allocations: 329.9 kB / 0.7361 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.7793, allocations: 1.275 MB / 0.7373 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.7821, allocations: 0.9729 MB / 0.7383 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003129/0.7852, allocations: 1.848 MB / 0.7401 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008865/0.7861, allocations: 413.4 kB / 0.7405 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.7892, allocations: 1.102 MB / 0.7415 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.7904, allocations: 0.6968 MB / 0.7422 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.7906, allocations: 60 kB / 0.7423 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.7923, allocations: 0.6359 MB / 0.7429 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003676/0.7926, allocations: 275.2 kB / 0.7432 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.7931, allocations: 394.2 kB / 0.7435 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.7953, allocations: 1.308 MB / 0.7448 GB, free: 13.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.7953, allocations: 4 kB / 0.7448 GB, free: 13.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7953, allocations: 0 / 0.7448 GB, free: 13.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.7953, allocations: 0 / 0.7448 GB, free: 13.26 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003127/0.7984, allocations: 1.121 MB / 0.7459 GB, free: 12.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.7985, allocations: 12.03 kB / 0.7459 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000939/0.7994, allocations: 139.4 kB / 0.7461 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.8004, allocations: 0.5357 MB / 0.7466 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.8006, allocations: 104.4 kB / 0.7467 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.8007, allocations: 44 kB / 0.7467 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.8021, allocations: 0.8241 MB / 0.7475 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.8021, allocations: 7.938 kB / 0.7475 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.817e-05/0.8022, allocations: 20 kB / 0.7476 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.267e-05/0.8022, allocations: 40.98 kB / 0.7476 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.8034, allocations: 0.6282 MB / 0.7482 GB, free: 9.609 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.0051/0.8085, allocations: 3.929 MB / 0.752 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006465/0.8091, allocations: 346 kB / 0.7524 GB, free: 5.094 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.8094, allocations: 165.3 kB / 0.7525 GB, free: 4.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.8095, allocations: 93.36 kB / 0.7526 GB, free: 4.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.8096, allocations: 38.84 kB / 0.7527 GB, free: 4.773 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/0.8096, allocations: 0 / 0.7527 GB, free: 4.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.006228/0.8158, allocations: 1.692 MB / 0.7543 GB, free: 3.016 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.8159, allocations: 136.5 kB / 0.7544 GB, free: 2.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008529/0.8168, allocations: 0.6172 MB / 0.755 GB, free: 2.223 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.8168, allocations: 37.7 kB / 0.7551 GB, free: 2.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.8172, allocations: 379.8 kB / 0.7554 GB, free: 1.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.8173, allocations: 146.8 kB / 0.7556 GB, free: 1.656 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.8176, allocations: 154.6 kB / 0.7557 GB, free: 1.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.8178, allocations: 378.8 kB / 0.7561 GB, free: 1.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.8181, allocations: 201.9 kB / 0.7563 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006437/0.8188, allocations: 0.5163 MB / 0.7568 GB, free: 260 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.8199, allocations: 0.7477 MB / 0.7575 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.8199, allocations: 4 kB / 0.7575 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001609/0.8215, allocations: 0.8797 MB / 0.7584 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.8215, allocations: 8 kB / 0.7584 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.8216, allocations: 12 kB / 0.7584 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.823, allocations: 317.2 kB / 0.7587 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.8234, allocations: 119.8 kB / 0.7588 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.8247, allocations: 0.9347 MB / 0.7597 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.8252, allocations: 27.98 kB / 0.7598 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.8253, allocations: 64 kB / 0.7598 GB, free: 12.97 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.0004095/0.8257, allocations: 253.5 kB / 0.7601 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.8258, allocations: 71.58 kB / 0.7601 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.8276, allocations: 0.8521 MB / 0.761 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.8276, allocations: 4 kB / 0.761 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.8276, allocations: 4.875 kB / 0.761 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.8276, allocations: 0 / 0.761 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.8298, allocations: 1.465 MB / 0.7624 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.8299, allocations: 4 kB / 0.7624 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.831, allocations: 211.7 kB / 0.7626 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.8311, allocations: 24.84 kB / 0.7626 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.8311, allocations: 25.38 kB / 0.7627 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.8336, allocations: 2.87 MB / 0.7655 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.8336, allocations: 7.969 kB / 0.7655 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.835, allocations: 0.823 MB / 0.7663 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.8354, allocations: 188.6 kB / 0.7664 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.557e-05/0.8355, allocations: 11.94 kB / 0.7665 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.8359, allocations: 19.98 kB / 0.7665 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.836, allocations: 47.95 kB / 0.7665 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/0.8361, allocations: 43.97 kB / 0.7666 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006311/0.8367, allocations: 439 kB / 0.767 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8367, allocations: 3.938 kB / 0.767 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00101/0.8377, allocations: 259.7 kB / 0.7672 GB, free: 4.883 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.0008883/0.8386, allocations: 293.5 kB / 0.7675 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.84, allocations: 0.5466 MB / 0.768 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.84, allocations: 3.859 kB / 0.7681 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.8411, allocations: 398.7 kB / 0.7684 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.8431, allocations: 367 kB / 0.7688 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.8464, allocations: 1.386 MB / 0.7701 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008361/0.8472, allocations: 0.9261 MB / 0.771 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/0.8477, allocations: 127.4 kB / 0.7712 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of SimCode: time 2.054e-06/0.8477, allocations: 0 / 0.7712 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of Templates: time 0.02776/0.8754, allocations: 16.7 MB / 0.7875 GB, free: 144 kB / 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.569303069030866]