Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001071/0.001071, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001677/0.001677, allocations: 165 kB / 24.56 MB, free: 4 kB / 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 1.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.609 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.2507/0.2507, allocations: 34.26 MB / 295.7 MB, free: 0.7695 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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 378.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.843e-05, allocations: 5.547 kB / 378.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3114/0.3114, allocations: 151 MB / 0.5166 GB, free: 14.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003722/0.3152, allocations: 2.912 MB / 0.5195 GB, free: 12.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003678/0.3155, allocations: 27 kB / 0.5195 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005923/0.3161, allocations: 250.9 kB / 0.5197 GB, free: 12.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.3189, allocations: 1.749 MB / 0.5214 GB, free: 11.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.3204, allocations: 1.027 MB / 0.5224 GB, free: 11.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.3221, allocations: 2.282 MB / 0.5247 GB, free: 10.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005882/0.3226, allocations: 0.5507 MB / 0.5252 GB, free: 9.699 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.324, allocations: 1.313 MB / 0.5265 GB, free: 9.164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008856/0.3249, allocations: 0.8492 MB / 0.5273 GB, free: 8.906 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.325, allocations: 94.38 kB / 0.5274 GB, free: 8.906 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.3267, allocations: 1.45 MB / 0.5288 GB, free: 8.527 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.327, allocations: 464.8 kB / 0.5293 GB, free: 8.312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.3273, allocations: 410.3 kB / 0.5297 GB, free: 8.156 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.3292, allocations: 1.873 MB / 0.5315 GB, free: 7.473 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3292, allocations: 2.844 kB / 0.5315 GB, free: 7.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3292, allocations: 0 / 0.5315 GB, free: 7.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.3292, allocations: 0 / 0.5315 GB, free: 7.473 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002012/0.3312, allocations: 1.496 MB / 0.5329 GB, free: 6.539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3312, allocations: 8.469 kB / 0.533 GB, free: 6.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/0.3316, allocations: 187.7 kB / 0.5331 GB, free: 6.453 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000609/0.3322, allocations: 0.5649 MB / 0.5337 GB, free: 6.109 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/0.3323, allocations: 172.3 kB / 0.5339 GB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.3324, allocations: 85.33 kB / 0.5339 GB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009664/0.3333, allocations: 1.219 MB / 0.5351 GB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.3333, allocations: 3.938 kB / 0.5351 GB, free: 5.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.3334, allocations: 39.23 kB / 0.5352 GB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/0.3335, allocations: 59.83 kB / 0.5352 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007746/0.3342, allocations: 0.55 MB / 0.5358 GB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.3372, allocations: 3.691 MB / 0.5394 GB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.3379, allocations: 488.6 kB / 0.5398 GB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.3381, allocations: 187.1 kB / 0.54 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/0.3383, allocations: 107.4 kB / 0.5401 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3384, allocations: 45.39 kB / 0.5402 GB, free: 1.758 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 1.894e-06/0.3384, allocations: 10.91 kB / 0.5402 GB, free: 1.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.004406/0.3428, allocations: 2.382 MB / 0.5425 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.3428, allocations: 112 kB / 0.5426 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.3431, allocations: 0.5378 MB / 0.5431 GB, free: 152 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.3432, allocations: 47.11 kB / 0.5432 GB, free: 104 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.3434, allocations: 457.4 kB / 0.5436 GB, free: 15.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.3436, allocations: 302.3 kB / 0.5439 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.3438, allocations: 200.8 kB / 0.5441 GB, free: 15.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.344, allocations: 0.5572 MB / 0.5446 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.3443, allocations: 186.9 kB / 0.5448 GB, free: 14.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004737/0.3448, allocations: 0.6127 MB / 0.5454 GB, free: 14.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008333/0.3456, allocations: 0.7983 MB / 0.5462 GB, free: 13.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3456, allocations: 4 kB / 0.5462 GB, free: 13.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001311/0.3469, allocations: 0.9768 MB / 0.5471 GB, free: 12.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3469, allocations: 8 kB / 0.5471 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3469, allocations: 11.94 kB / 0.5472 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002636/0.3496, allocations: 0.9679 MB / 0.5481 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.3499, allocations: 155.7 kB / 0.5483 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009866/0.3509, allocations: 1.19 MB / 0.5494 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.3512, allocations: 47.98 kB / 0.5495 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.3513, allocations: 47.98 kB / 0.5495 GB, free: 9.875 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.3515, allocations: 228.2 kB / 0.5497 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.3516, allocations: 103.5 kB / 0.5498 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.353, allocations: 1.081 MB / 0.5509 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.353, allocations: 15.98 kB / 0.5509 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.353, allocations: 0 / 0.5509 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3531, allocations: 3.984 kB / 0.5509 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.355, allocations: 1.556 MB / 0.5524 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.355, allocations: 4 kB / 0.5524 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/0.3557, allocations: 251.9 kB / 0.5527 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006518/0.3563, allocations: 245.6 kB / 0.5529 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.3564, allocations: 35.92 kB / 0.5529 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.3576, allocations: 2.696 MB / 0.5556 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3576, allocations: 7.938 kB / 0.5556 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.3589, allocations: 1.084 MB / 0.5566 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.3591, allocations: 183.3 kB / 0.5568 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/0.3592, allocations: 24 kB / 0.5568 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.3595, allocations: 44 kB / 0.5569 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/0.3596, allocations: 68.47 kB / 0.5569 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/0.3597, allocations: 39.97 kB / 0.557 GB, free: 1.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002557/0.3599, allocations: 354.8 kB / 0.5573 GB, free: 1.586 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3599, allocations: 0 / 0.5573 GB, free: 1.586 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009877/0.3609, allocations: 499 kB / 0.5578 GB, free: 1.098 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (80): * Single equations (assignments): 76 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007808/0.3617, allocations: 0.5135 MB / 0.5583 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.3627, allocations: 0.6734 MB / 0.5589 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3627, allocations: 0 / 0.5589 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006817/0.3634, allocations: 430.8 kB / 0.5594 GB, free: 15.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.3645, allocations: 460 kB / 0.5598 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.3671, allocations: 1.73 MB / 0.5615 GB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.3672, allocations: 229.8 kB / 0.5617 GB, free: 13.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005107/0.3677, allocations: 302.6 kB / 0.562 GB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.3679, allocations: 80.47 kB / 0.5621 GB, free: 12.64 MB / 442.7 MB Notification: Performance of SimCode: time 9.31e-07/0.3679, allocations: 0 / 0.5621 GB, free: 12.64 MB / 442.7 MB Notification: Performance of Templates: time 0.0235/0.3914, allocations: 25.32 MB / 0.5868 GB, free: 3.664 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.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: 4.457175348885357]