Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 43.92 kB / 370.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2407, allocations: 52.19 MB / 423 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3758/0.6165, allocations: 130.3 MB / 0.5404 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.618, allocations: 1.422 MB / 0.5418 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.6181, allocations: 1.375 kB / 0.5418 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.6184, allocations: 53.09 kB / 0.5418 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.6187, allocations: 157.3 kB / 0.542 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.621, allocations: 1.042 MB / 0.543 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.6213, allocations: 331 kB / 0.5433 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.6214, allocations: 8.422 kB / 0.5433 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.6216, allocations: 156.8 kB / 0.5434 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.6218, allocations: 123.7 kB / 0.5436 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.6218, allocations: 13.22 kB / 0.5436 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.6236, allocations: 1.325 MB / 0.5449 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.993e-05/0.6237, allocations: 76.39 kB / 0.5449 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.961e-05/0.6238, allocations: 82.36 kB / 0.545 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.6249, allocations: 0.949 MB / 0.5459 GB, free: 1.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6249, allocations: 2.812 kB / 0.546 GB, free: 1.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6249, allocations: 0.8438 kB / 0.546 GB, free: 1.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.6249, allocations: 0 / 0.546 GB, free: 1.18 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001611/0.6265, allocations: 0.606 MB / 0.5465 GB, free: 16.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.6265, allocations: 11.41 kB / 0.5466 GB, free: 16.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.6266, allocations: 20.31 kB / 0.5466 GB, free: 16.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.6269, allocations: 160.2 kB / 0.5467 GB, free: 16.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.6269, allocations: 13.52 kB / 0.5467 GB, free: 16.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.627, allocations: 19.02 kB / 0.5468 GB, free: 16.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.6275, allocations: 368.7 kB / 0.5471 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6275, allocations: 3.844 kB / 0.5471 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.6276, allocations: 7.188 kB / 0.5471 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.6276, allocations: 5.469 kB / 0.5471 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.6282, allocations: 267.2 kB / 0.5474 GB, free: 16.47 MB / 462.1 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.001266/0.6294, allocations: 0.6134 MB / 0.548 GB, free: 16.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.63, allocations: 215.4 kB / 0.5482 GB, free: 16.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.6303, allocations: 128.5 kB / 0.5483 GB, free: 16.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.6304, allocations: 51.48 kB / 0.5484 GB, free: 16.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.6305, allocations: 38.42 kB / 0.5484 GB, free: 16.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.734e-06/0.6305, allocations: 0 / 0.5484 GB, free: 16.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002265/0.6327, allocations: 0.6789 MB / 0.5491 GB, free: 15.94 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.6328, allocations: 81.39 kB / 0.5491 GB, free: 15.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.6329, allocations: 128.6 kB / 0.5493 GB, free: 15.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.6329, allocations: 31.47 kB / 0.5493 GB, free: 15.71 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.633, allocations: 107.5 kB / 0.5494 GB, free: 15.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.6331, allocations: 135.7 kB / 0.5495 GB, free: 15.53 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.613e-05/0.6332, allocations: 60.91 kB / 0.5496 GB, free: 15.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6333, allocations: 327.4 kB / 0.5499 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.6337, allocations: 137.7 kB / 0.55 GB, free: 15.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.634, allocations: 206.3 kB / 0.5502 GB, free: 15.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/0.6347, allocations: 361.3 kB / 0.5506 GB, free: 15.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6348, allocations: 0 / 0.5506 GB, free: 15.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008676/0.6356, allocations: 408.8 kB / 0.5509 GB, free: 14.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6356, allocations: 5.062 kB / 0.551 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.6356, allocations: 6.625 kB / 0.551 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.6357, allocations: 2.875 kB / 0.551 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.6361, allocations: 94.78 kB / 0.5511 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6361, allocations: 6.469 kB / 0.5511 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.6364, allocations: 34.47 kB / 0.5511 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.6365, allocations: 17.69 kB / 0.5511 GB, free: 14.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.6366, allocations: 141.4 kB / 0.5512 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.6367, allocations: 17.06 kB / 0.5513 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.637, allocations: 177.8 kB / 0.5514 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.637, allocations: 6.531 kB / 0.5514 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.637, allocations: 0 / 0.5514 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.637, allocations: 0 / 0.5514 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.6385, allocations: 0.6638 MB / 0.5521 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.6385, allocations: 2.688 kB / 0.5521 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.6389, allocations: 76.81 kB / 0.5522 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.6389, allocations: 8.906 kB / 0.5522 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.639, allocations: 9.188 kB / 0.5522 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.639, allocations: 9.5 kB / 0.5522 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.639, allocations: 2.344 kB / 0.5522 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.6402, allocations: 0.7132 MB / 0.5529 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.6403, allocations: 38.42 kB / 0.5529 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.6404, allocations: 12.78 kB / 0.5529 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.6407, allocations: 24.22 kB / 0.553 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.6408, allocations: 30.44 kB / 0.553 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.6408, allocations: 18.25 kB / 0.553 GB, free: 14.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.018e-05/0.6409, allocations: 90.86 kB / 0.5531 GB, free: 14.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6409, allocations: 0 / 0.5531 GB, free: 14.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005207/0.6414, allocations: 144.1 kB / 0.5532 GB, free: 14.12 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003849/0.6418, allocations: 227.3 kB / 0.5534 GB, free: 14.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007987/0.6426, allocations: 335.1 kB / 0.5538 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6426, allocations: 0 / 0.5538 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.6429, allocations: 172.7 kB / 0.5539 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.6436, allocations: 96.95 kB / 0.554 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.645, allocations: 0.6173 MB / 0.5546 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.6451, allocations: 123 kB / 0.5547 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003162/0.6454, allocations: 75.03 kB / 0.5548 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.6455, allocations: 39.25 kB / 0.5549 GB, free: 13.52 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6455, allocations: 0 / 0.5549 GB, free: 13.52 MB / 462.1 MB Notification: Performance of Templates: time 0.009632/0.6551, allocations: 6.282 MB / 0.561 GB, free: 12.95 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.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: 5.001139482483268]