Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001153/0.001153, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002735, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007019/0.0007019, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009194/0.001621, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8203/0.8203, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1466/0.967, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1182/0.1182, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01889/0.137, allocations: 12.29 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029e-05/1.14e-05, allocations: 2.312 kB / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2547/0.2547, allocations: 146.8 MB / 414 MB, free: 4.145 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005749/0.2605, allocations: 5.09 MB / 419.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/0.2609, allocations: 27.75 kB / 419.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.2612, allocations: 206.6 kB / 419.3 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.2632, allocations: 1.115 MB / 420.5 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.2643, allocations: 0.8173 MB / 421.3 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.2658, allocations: 1.933 MB / 423.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004605/0.2662, allocations: 421.7 kB / 423.6 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.2674, allocations: 1.172 MB / 424.8 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005561/0.268, allocations: 0.5648 MB / 425.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.2681, allocations: 63.94 kB / 425.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006721/0.2687, allocations: 0.4914 MB / 425.9 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.2689, allocations: 231.3 kB / 426.1 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.2691, allocations: 223.6 kB / 426.4 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008396/0.27, allocations: 0.8841 MB / 427.2 MB, free: 6.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.27, allocations: 0 / 427.2 MB, free: 6.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.27, allocations: 0 / 427.2 MB, free: 6.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.27, allocations: 7.938 kB / 427.2 MB, free: 6.918 MB / 378.7 MB 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.001529/0.2715, allocations: 1.244 MB / 428.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.2715, allocations: 11.89 kB / 428.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004911/0.272, allocations: 208.3 kB / 428.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.2725, allocations: 427.4 kB / 429.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.487e-05/0.2726, allocations: 160.3 kB / 429.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.2726, allocations: 52.38 kB / 429.3 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005901/0.2732, allocations: 0.9144 MB / 430.2 MB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.2732, allocations: 7.938 kB / 430.3 MB, free: 3.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.2733, allocations: 27.98 kB / 430.3 MB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.2733, allocations: 36.98 kB / 430.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.2736, allocations: 225.4 kB / 430.5 MB, free: 3.367 MB / 378.7 MB 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.001872/0.2755, allocations: 2.665 MB / 433.2 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.2757, allocations: 174 kB / 433.4 MB, free: 432 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.2758, allocations: 73.92 kB / 433.4 MB, free: 360 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.2759, allocations: 133.9 kB / 433.6 MB, free: 224 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.276, allocations: 38.84 kB / 433.6 MB, free: 176 kB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.412e-06/0.276, allocations: 0 / 433.6 MB, free: 176 kB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.001913/0.2779, allocations: 0.8971 MB / 434.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.2779, allocations: 59.34 kB / 434.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.2782, allocations: 482.8 kB / 435 MB, free: 14.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.2783, allocations: 37.7 kB / 435.1 MB, free: 14.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.2784, allocations: 337.1 kB / 435.4 MB, free: 14.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/0.2785, allocations: 150.7 kB / 435.5 MB, free: 14.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.2786, allocations: 142.5 kB / 435.7 MB, free: 14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.2787, allocations: 374.6 kB / 436.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.2788, allocations: 69.95 kB / 436.1 MB, free: 13.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.279, allocations: 0.4954 MB / 436.6 MB, free: 12.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.2794, allocations: 0.5185 MB / 437.1 MB, free: 12.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2794, allocations: 8 kB / 437.1 MB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0004844/0.2799, allocations: 0.4891 MB / 437.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2799, allocations: 12 kB / 437.6 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2799, allocations: 8 kB / 437.7 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004842/0.2804, allocations: 215.6 kB / 437.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.2806, allocations: 139.8 kB / 438 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003908/0.281, allocations: 0.6819 MB / 438.7 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.2812, allocations: 28.86 kB / 438.7 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.2812, allocations: 48 kB / 438.8 MB, free: 10.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001262/0.2814, allocations: 168.3 kB / 438.9 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.2814, allocations: 51.94 kB / 439 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.2819, allocations: 393.3 kB / 439.4 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2819, allocations: 4 kB / 439.4 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2819, allocations: 4 kB / 439.4 MB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2819, allocations: 0 / 439.4 MB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007462/0.2826, allocations: 0.7162 MB / 440.1 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2826, allocations: 0 / 440.1 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.2831, allocations: 192.5 kB / 440.3 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.51e-05/0.2832, allocations: 67.61 kB / 440.3 MB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.715e-05/0.2833, allocations: 20.84 kB / 440.4 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.2833, allocations: 15.98 kB / 440.4 MB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009626/0.2843, allocations: 2.402 MB / 442.8 MB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2843, allocations: 0 / 442.8 MB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.2846, allocations: 427.1 kB / 443.2 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.2847, allocations: 8 kB / 443.2 MB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.2848, allocations: 12 kB / 443.2 MB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.2849, allocations: 39.88 kB / 443.2 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.2849, allocations: 23.98 kB / 443.3 MB, free: 5.758 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.285, allocations: 200.3 kB / 443.5 MB, free: 5.562 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.285, allocations: 4 kB / 443.5 MB, free: 5.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004436/0.2855, allocations: 247.7 kB / 443.7 MB, free: 5.316 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (38): * Single equations (assignments): 36 * 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.0004622/0.2859, allocations: 267.2 kB / 444 MB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003952/0.2863, allocations: 323.8 kB / 444.3 MB, free: 4.746 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.764e-05/0.2863, allocations: 16.44 kB / 444.3 MB, free: 4.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.2867, allocations: 292.1 kB / 444.6 MB, free: 4.426 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.2874, allocations: 377.7 kB / 445 MB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007059/0.2944, allocations: 1.146 MB / 446.1 MB, free: 2.879 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.311e-05/0.2945, allocations: 170.5 kB / 446.3 MB, free: 2.691 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003402/0.2948, allocations: 149.4 kB / 446.4 MB, free: 2.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.2953, allocations: 305 kB / 446.7 MB, free: 2.242 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2953, allocations: 0 / 446.7 MB, free: 2.242 MB / 394.7 MB Notification: Performance of Templates: time 0.01602/0.3113, allocations: 16.68 MB / 463.4 MB, free: 1.652 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3910846654325724]