Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.0009607/0.0009607, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009483/0.0009483, allocations: 171.3 kB / 24.91 MB, free: 9.184 MB / 18.57 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 0.9914/0.9914, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2511/0.2511, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 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.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,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.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.745e-05, allocations: 3.297 kB / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3044/0.3045, allocations: 134 MB / 459.3 MB, free: 16.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.3083, allocations: 3.127 MB / 462.4 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.3087, allocations: 26.69 kB / 462.4 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005253/0.3093, allocations: 215.9 kB / 462.6 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.3104, allocations: 0.7755 MB / 463.4 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.3119, allocations: 0.9087 MB / 464.3 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.3134, allocations: 1.854 MB / 466.2 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005069/0.3139, allocations: 433 kB / 466.6 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.3149, allocations: 0.9471 MB / 467.5 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005685/0.3155, allocations: 0.6473 MB / 468.2 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.176e-05/0.3156, allocations: 62.88 kB / 468.3 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.316, allocations: 271.3 kB / 468.5 MB, free: 16.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.3161, allocations: 291.3 kB / 468.8 MB, free: 16.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.3163, allocations: 285.8 kB / 469.1 MB, free: 16.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.3169, allocations: 0.7909 MB / 469.9 MB, free: 16.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3169, allocations: 0 / 469.9 MB, free: 16.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.317, allocations: 4 kB / 469.9 MB, free: 16.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.317, allocations: 2.625 kB / 469.9 MB, free: 16.33 MB / 410.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.000969/0.3179, allocations: 0.9238 MB / 470.8 MB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.318, allocations: 11.94 kB / 470.8 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.3182, allocations: 131 kB / 470.9 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.3186, allocations: 430.2 kB / 471.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.127e-05/0.3187, allocations: 152.1 kB / 471.5 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.3187, allocations: 60.36 kB / 471.6 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.3192, allocations: 0.8614 MB / 472.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3192, allocations: 4.375 kB / 472.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.3193, allocations: 29.78 kB / 472.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.86e-05/0.3193, allocations: 41.34 kB / 472.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.3196, allocations: 234.6 kB / 472.7 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.3211, allocations: 2.434 MB / 475.2 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.3214, allocations: 227.4 kB / 475.4 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.203e-05/0.3215, allocations: 77.95 kB / 475.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.424e-05/0.3216, allocations: 37.38 kB / 475.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.3216, allocations: 45.94 kB / 475.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.533e-06/0.3216, allocations: 0 / 475.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001211/0.3228, allocations: 0.7878 MB / 476.3 MB, free: 12.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.3229, allocations: 132 kB / 476.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.3231, allocations: 470.5 kB / 476.9 MB, free: 12.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.3231, allocations: 34.36 kB / 477 MB, free: 12.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.3232, allocations: 328.2 kB / 477.3 MB, free: 12.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/0.3233, allocations: 174.9 kB / 477.4 MB, free: 12.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.3234, allocations: 141 kB / 477.6 MB, free: 12.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.3234, allocations: 376.7 kB / 478 MB, free: 11.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.3235, allocations: 68.28 kB / 478 MB, free: 11.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.3237, allocations: 484.3 kB / 478.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.324, allocations: 0.5133 MB / 479 MB, free: 10.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.324, allocations: 2.375 kB / 479 MB, free: 10.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005281/0.3245, allocations: 0.5084 MB / 479.5 MB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3246, allocations: 13.81 kB / 479.5 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3246, allocations: 14.97 kB / 479.5 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/0.3251, allocations: 227.1 kB / 479.8 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.3253, allocations: 121.6 kB / 479.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00032/0.3256, allocations: 0.6648 MB / 480.6 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3258, allocations: 27.84 kB / 480.6 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.3258, allocations: 30.33 kB / 480.6 MB, free: 10.36 MB / 410.7 MB 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.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 (74): * Single equations (assignments): 73 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.326, allocations: 165.8 kB / 480.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.326, allocations: 55.67 kB / 480.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.3264, allocations: 419.4 kB / 481.2 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3264, allocations: 6.156 kB / 481.2 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.3264, allocations: 0 / 481.2 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3265, allocations: 5.016 kB / 481.2 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.3271, allocations: 0.7027 MB / 481.9 MB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3271, allocations: 2.344 kB / 482 MB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.3275, allocations: 166 kB / 482.1 MB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.13e-05/0.3275, allocations: 24.73 kB / 482.1 MB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.3276, allocations: 10.05 kB / 482.1 MB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006697/0.3282, allocations: 2.401 MB / 484.5 MB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3282, allocations: 6.375 kB / 484.6 MB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.3286, allocations: 0.5105 MB / 485.1 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.685e-05/0.3287, allocations: 79.7 kB / 485.1 MB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.3288, allocations: 12.53 kB / 485.2 MB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.3289, allocations: 17 kB / 485.2 MB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.329, allocations: 37.42 kB / 485.2 MB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.329, allocations: 13.89 kB / 485.2 MB, free: 7.152 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.3291, allocations: 206 kB / 485.4 MB, free: 7.129 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3291, allocations: 0 / 485.4 MB, free: 7.129 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.3295, allocations: 196 kB / 485.6 MB, free: 7.121 MB / 410.7 MB 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002069/0.3297, allocations: 156 kB / 485.8 MB, free: 7.039 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004401/0.3302, allocations: 344 kB / 486.1 MB, free: 7.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/0.3302, allocations: 12.69 kB / 486.1 MB, free: 7.016 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.3305, allocations: 309.2 kB / 486.4 MB, free: 6.887 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.3312, allocations: 341.5 kB / 486.7 MB, free: 6.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3325, allocations: 1.139 MB / 487.9 MB, free: 6.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.726e-05/0.3326, allocations: 168.9 kB / 488.1 MB, free: 6.176 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.3328, allocations: 121.2 kB / 488.2 MB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.3333, allocations: 297.5 kB / 488.5 MB, free: 6.082 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3333, allocations: 0 / 488.5 MB, free: 6.082 MB / 410.7 MB Notification: Performance of Templates: time 0.01397/0.3472, allocations: 14.18 MB / 0.4909 GB, free: 0.6562 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.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.5603452189825475]