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.001528/0.001528, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001699/0.001699, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.2389/0.2389, allocations: 46.93 MB / 361.6 MB, free: 4.297 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.001891/0.001891, allocations: 55.91 kB / 0.4974 GB, free: 7.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3542, allocations: 66.04 MB / 0.5619 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2103/0.5644, allocations: 178.1 MB / 0.7358 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3498/0.9143, allocations: 5.364 MB / 0.741 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007456/0.915, allocations: 30.56 kB / 0.7411 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009639/0.916, allocations: 322.7 kB / 0.7414 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003793/0.9198, allocations: 1.292 MB / 0.7426 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.9227, allocations: 0.9915 MB / 0.7436 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.9253, allocations: 1.883 MB / 0.7454 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005729/0.9258, allocations: 390.9 kB / 0.7458 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.9281, allocations: 1.115 MB / 0.7469 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009492/0.929, allocations: 0.7034 MB / 0.7476 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-05/0.9291, allocations: 61.34 kB / 0.7476 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.9305, allocations: 0.647 MB / 0.7483 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.9308, allocations: 267.3 kB / 0.7485 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004093/0.9312, allocations: 397.3 kB / 0.7489 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.9327, allocations: 1.307 MB / 0.7502 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9327, allocations: 0.9062 kB / 0.7502 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9327, allocations: 2.125 kB / 0.7502 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.9327, allocations: 3.938 kB / 0.7502 GB, free: 1.586 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.002141/0.9348, allocations: 1.045 MB / 0.7512 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.9349, allocations: 11.22 kB / 0.7512 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007931/0.9357, allocations: 139 kB / 0.7514 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008507/0.9365, allocations: 480.1 kB / 0.7518 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.9367, allocations: 159.9 kB / 0.752 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.9368, allocations: 49.94 kB / 0.752 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.9378, allocations: 0.8125 MB / 0.7528 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.9378, allocations: 4.969 kB / 0.7528 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.584e-05/0.9379, allocations: 23.84 kB / 0.7528 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.9379, allocations: 37.52 kB / 0.7529 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008477/0.9388, allocations: 0.6224 MB / 0.7535 GB, free: 16.46 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.004257/0.943, allocations: 3.892 MB / 0.7573 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.9435, allocations: 342.8 kB / 0.7576 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.9438, allocations: 159.3 kB / 0.7578 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.415e-05/0.9438, allocations: 11.97 kB / 0.7578 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.9439, allocations: 45.97 kB / 0.7578 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.9439, allocations: 0 / 0.7578 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005249/0.9491, allocations: 1.608 MB / 0.7594 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.9492, allocations: 136.1 kB / 0.7595 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007225/0.95, allocations: 0.6139 MB / 0.7601 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/0.95, allocations: 36.08 kB / 0.7601 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.9503, allocations: 378.5 kB / 0.7605 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.9504, allocations: 155.7 kB / 0.7607 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.9506, allocations: 157.2 kB / 0.7608 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.9508, allocations: 375.5 kB / 0.7612 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.9511, allocations: 203.8 kB / 0.7614 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.9517, allocations: 0.5152 MB / 0.7619 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009435/0.9527, allocations: 0.752 MB / 0.7626 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.9527, allocations: 2.781 kB / 0.7626 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001233/0.9539, allocations: 0.877 MB / 0.7635 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.9539, allocations: 17.69 kB / 0.7635 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.9539, allocations: 10.09 kB / 0.7635 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.9552, allocations: 314 kB / 0.7638 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.9556, allocations: 125.7 kB / 0.7639 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.9566, allocations: 0.9366 MB / 0.7648 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.9571, allocations: 30.36 kB / 0.7648 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.9571, allocations: 65.89 kB / 0.7649 GB, free: 11.06 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.0003216/0.9575, allocations: 246.9 kB / 0.7651 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.9576, allocations: 68.58 kB / 0.7652 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.9589, allocations: 0.8674 MB / 0.7661 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.959, allocations: 7.406 kB / 0.7661 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.959, allocations: 0 / 0.7661 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.959, allocations: 5.078 kB / 0.7661 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.9607, allocations: 1.203 MB / 0.7672 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.9607, allocations: 4 kB / 0.7672 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009505/0.9616, allocations: 209.6 kB / 0.7674 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.95e-05/0.9617, allocations: 29.64 kB / 0.7675 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.9618, allocations: 20.5 kB / 0.7675 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.9638, allocations: 2.667 MB / 0.7701 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.9638, allocations: 6.406 kB / 0.7701 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.9649, allocations: 0.8159 MB / 0.7709 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.9652, allocations: 121.9 kB / 0.771 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.295e-05/0.9653, allocations: 10.27 kB / 0.771 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.9656, allocations: 19.55 kB / 0.771 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.9657, allocations: 40.78 kB / 0.7711 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/0.9658, allocations: 44.61 kB / 0.7711 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004318/0.9662, allocations: 442.6 kB / 0.7715 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9662, allocations: 0 / 0.7715 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008463/0.967, allocations: 265.8 kB / 0.7718 GB, free: 7.578 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.0005785/0.9676, allocations: 281.3 kB / 0.7721 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009594/0.9686, allocations: 0.5352 MB / 0.7726 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9686, allocations: 1.891 kB / 0.7726 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008364/0.9694, allocations: 395.3 kB / 0.773 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.9709, allocations: 364.1 kB / 0.7733 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.9729, allocations: 1.404 MB / 0.7747 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.9734, allocations: 0.9254 MB / 0.7756 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.9737, allocations: 128.2 kB / 0.7757 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.9737, allocations: 0 / 0.7757 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.02013/0.9939, allocations: 16.66 MB / 0.792 GB, free: 1.926 MB / 0.5762 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: 10.78415989689529]