Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001257/0.001257, allocations: 111.4 kB / 18.45 MB, free: 4.562 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.001385/0.001385, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.549/1.549, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2382/0.2382, allocations: 46.92 MB / 357.8 MB, free: 10.29 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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,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.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.84 kB / 0.4921 GB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1363, allocations: 66 MB / 0.5565 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.6577/0.7939, allocations: 177.9 MB / 0.7302 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.8085, allocations: 5.346 MB / 0.7354 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.8097, allocations: 27.69 kB / 0.7355 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.8114, allocations: 322 kB / 0.7358 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006977/0.8184, allocations: 1.276 MB / 0.737 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005236/0.8236, allocations: 0.9606 MB / 0.738 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004643/0.8283, allocations: 1.856 MB / 0.7398 GB, free: 5.348 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.8296, allocations: 401.5 kB / 0.7402 GB, free: 4.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004793/0.8344, allocations: 1.109 MB / 0.7412 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.8366, allocations: 0.6968 MB / 0.7419 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003207/0.8369, allocations: 60 kB / 0.742 GB, free: 3.082 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.84, allocations: 0.6359 MB / 0.7426 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006594/0.8407, allocations: 267.2 kB / 0.7429 GB, free: 2.184 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.8418, allocations: 402.2 kB / 0.7432 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003731/0.8455, allocations: 1.304 MB / 0.7445 GB, free: 492 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.8455, allocations: 0 / 0.7445 GB, free: 492 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8455, allocations: 0 / 0.7445 GB, free: 492 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.355e-05/0.8456, allocations: 0 / 0.7445 GB, free: 492 kB / 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.004701/0.8503, allocations: 1.121 MB / 0.7456 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.8503, allocations: 8.031 kB / 0.7456 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.8521, allocations: 147.4 kB / 0.7458 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.854, allocations: 0.5356 MB / 0.7463 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.8542, allocations: 104.3 kB / 0.7464 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.8544, allocations: 47.98 kB / 0.7464 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002568/0.857, allocations: 0.8136 MB / 0.7472 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.857, allocations: 0 / 0.7472 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.8571, allocations: 24 kB / 0.7472 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.8573, allocations: 44.91 kB / 0.7473 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.8593, allocations: 0.6204 MB / 0.7479 GB, free: 12.84 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.00898/0.8683, allocations: 3.938 MB / 0.7517 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.8693, allocations: 345.8 kB / 0.7521 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/0.8698, allocations: 165.8 kB / 0.7522 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.87, allocations: 93.38 kB / 0.7523 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/0.8701, allocations: 39.72 kB / 0.7524 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.236e-06/0.8701, allocations: 0 / 0.7524 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.008296/0.8784, allocations: 1.69 MB / 0.754 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.8785, allocations: 136.5 kB / 0.7541 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009125/0.8794, allocations: 0.6134 MB / 0.7547 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.989e-05/0.8795, allocations: 33.7 kB / 0.7548 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.8798, allocations: 379.8 kB / 0.7551 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.8799, allocations: 142.8 kB / 0.7553 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.8802, allocations: 158.6 kB / 0.7554 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.8804, allocations: 378.8 kB / 0.7558 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.8808, allocations: 205.9 kB / 0.756 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/0.8815, allocations: 0.5086 MB / 0.7565 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.8826, allocations: 0.7516 MB / 0.7572 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.8826, allocations: 0 / 0.7572 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00167/0.8843, allocations: 0.8764 MB / 0.7581 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.8843, allocations: 15.98 kB / 0.7581 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.8843, allocations: 8 kB / 0.7581 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.8858, allocations: 313.9 kB / 0.7584 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.8862, allocations: 123.8 kB / 0.7585 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.8875, allocations: 0.932 MB / 0.7594 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005467/0.888, allocations: 27.98 kB / 0.7594 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.8881, allocations: 75.97 kB / 0.7595 GB, free: 208 kB / 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.0004222/0.8886, allocations: 249.5 kB / 0.7597 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.8887, allocations: 71.56 kB / 0.7598 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.8905, allocations: 0.856 MB / 0.7606 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.8905, allocations: 4 kB / 0.7607 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8905, allocations: 3.938 kB / 0.7607 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.8905, allocations: 3.984 kB / 0.7607 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.8929, allocations: 1.461 MB / 0.7621 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.8929, allocations: 5.062 kB / 0.7621 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.894, allocations: 215.9 kB / 0.7623 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.8941, allocations: 20.84 kB / 0.7623 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/0.8941, allocations: 19.98 kB / 0.7623 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/0.8966, allocations: 2.883 MB / 0.7652 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8966, allocations: 0 / 0.7652 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.8981, allocations: 0.8231 MB / 0.766 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/0.8984, allocations: 188.7 kB / 0.7661 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.8986, allocations: 12 kB / 0.7661 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.899, allocations: 15.98 kB / 0.7662 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.8991, allocations: 47.83 kB / 0.7662 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.093e-05/0.8992, allocations: 39.98 kB / 0.7662 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006406/0.8998, allocations: 447 kB / 0.7667 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8998, allocations: 0 / 0.7667 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001069/0.9009, allocations: 255.7 kB / 0.7669 GB, free: 8.121 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.0007882/0.9017, allocations: 279.1 kB / 0.7672 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.9031, allocations: 0.5505 MB / 0.7677 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.9031, allocations: 0 / 0.7677 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.9041, allocations: 402.3 kB / 0.7681 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.9059, allocations: 369.2 kB / 0.7685 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.9085, allocations: 1.378 MB / 0.7698 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.9092, allocations: 0.9261 MB / 0.7707 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/0.9096, allocations: 127.4 kB / 0.7708 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/0.9096, allocations: 0 / 0.7708 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of Templates: time 0.02834/0.9379, allocations: 16.67 MB / 0.7871 GB, free: 3.41 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.666170092998073]