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.001786/0.001786, allocations: 108.6 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.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.002074/0.002074, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.428/1.428, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.001998/0.001998, allocations: 51.92 kB / 371.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4645/0.7644, allocations: 151.9 MB / 0.5623 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.766, allocations: 1.61 MB / 0.5639 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-05/0.7661, allocations: 2.75 kB / 0.5639 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.7665, allocations: 60.05 kB / 0.5639 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.7669, allocations: 155.9 kB / 0.5641 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.7696, allocations: 1.043 MB / 0.5651 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.77, allocations: 335.3 kB / 0.5654 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.7701, allocations: 10.19 kB / 0.5654 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.7703, allocations: 154.1 kB / 0.5656 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.7705, allocations: 126.3 kB / 0.5657 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.7705, allocations: 13.34 kB / 0.5657 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.7731, allocations: 1.646 MB / 0.5673 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.7733, allocations: 77.53 kB / 0.5674 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.7734, allocations: 94.45 kB / 0.5675 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.775, allocations: 0.9889 MB / 0.5685 GB, free: 13.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.775, allocations: 5.75 kB / 0.5685 GB, free: 13.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.775, allocations: 0 / 0.5685 GB, free: 13.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.775, allocations: 0 / 0.5685 GB, free: 13.07 MB / 462.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.001857/0.7769, allocations: 0.6084 MB / 0.5691 GB, free: 12.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.7769, allocations: 7.75 kB / 0.5691 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.7771, allocations: 25.53 kB / 0.5691 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.7774, allocations: 163.5 kB / 0.5692 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.7774, allocations: 15.94 kB / 0.5693 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.7774, allocations: 13.78 kB / 0.5693 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.778, allocations: 262.7 kB / 0.5695 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.778, allocations: 3.031 kB / 0.5695 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.778, allocations: 5.719 kB / 0.5695 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.7781, allocations: 9.219 kB / 0.5695 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000601/0.7787, allocations: 261.1 kB / 0.5698 GB, free: 12.46 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.001555/0.7802, allocations: 0.7645 MB / 0.5705 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.7808, allocations: 213 kB / 0.5707 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.7811, allocations: 134.1 kB / 0.5709 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.7813, allocations: 48.16 kB / 0.5709 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.7814, allocations: 39.94 kB / 0.571 GB, free: 11.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.7814, allocations: 0 / 0.571 GB, free: 11.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002548/0.7839, allocations: 0.6868 MB / 0.5716 GB, free: 11.78 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.784, allocations: 82.08 kB / 0.5717 GB, free: 11.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.7842, allocations: 118.1 kB / 0.5718 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.7842, allocations: 32.17 kB / 0.5718 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.7843, allocations: 105 kB / 0.5719 GB, free: 11.46 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.7845, allocations: 133.1 kB / 0.5721 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.7847, allocations: 75.8 kB / 0.5721 GB, free: 11.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.7849, allocations: 327.5 kB / 0.5725 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/0.7855, allocations: 129.2 kB / 0.5726 GB, free: 11.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.7861, allocations: 210.9 kB / 0.5728 GB, free: 10.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/0.787, allocations: 363.5 kB / 0.5731 GB, free: 10.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.787, allocations: 0 / 0.5731 GB, free: 10.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009115/0.7879, allocations: 405.9 kB / 0.5735 GB, free: 10.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.7879, allocations: 7.125 kB / 0.5735 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7879, allocations: 4.297 kB / 0.5735 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.7879, allocations: 2.719 kB / 0.5735 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.7884, allocations: 86.2 kB / 0.5736 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.7884, allocations: 8.75 kB / 0.5736 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.7888, allocations: 31.75 kB / 0.5737 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.7888, allocations: 23.7 kB / 0.5737 GB, free: 10.78 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.0001737/0.789, allocations: 139.2 kB / 0.5738 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.7891, allocations: 17.72 kB / 0.5738 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.7894, allocations: 173.2 kB / 0.574 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.7894, allocations: 7.812 kB / 0.574 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.7894, allocations: 0 / 0.574 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.7894, allocations: 3.984 kB / 0.574 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.7911, allocations: 0.7327 MB / 0.5747 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.7911, allocations: 2.25 kB / 0.5747 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.7915, allocations: 86.61 kB / 0.5748 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7916, allocations: 2.125 kB / 0.5748 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.7916, allocations: 19.05 kB / 0.5748 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.7916, allocations: 6.531 kB / 0.5748 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7916, allocations: 2.5 kB / 0.5748 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.7929, allocations: 0.7072 MB / 0.5755 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.7931, allocations: 41.88 kB / 0.5756 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.7931, allocations: 9 kB / 0.5756 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.7935, allocations: 20.45 kB / 0.5756 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.7935, allocations: 32.97 kB / 0.5756 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.7935, allocations: 15.09 kB / 0.5756 GB, free: 9.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.521e-05/0.7936, allocations: 93.39 kB / 0.5757 GB, free: 9.879 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7936, allocations: 0 / 0.5757 GB, free: 9.879 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006684/0.7943, allocations: 146.5 kB / 0.5759 GB, free: 9.859 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.0005281/0.7948, allocations: 236.7 kB / 0.5761 GB, free: 9.734 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008566/0.7957, allocations: 330.5 kB / 0.5764 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7957, allocations: 0 / 0.5764 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.796, allocations: 165.2 kB / 0.5766 GB, free: 9.703 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/0.7968, allocations: 96.25 kB / 0.5767 GB, free: 9.688 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.7982, allocations: 0.6413 MB / 0.5773 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.7986, allocations: 0.7333 MB / 0.578 GB, free: 8.617 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.7988, allocations: 37.97 kB / 0.578 GB, free: 8.609 MB / 462.1 MB Notification: Performance of SimCode: time 4.3e-07/0.7988, allocations: 1.203 kB / 0.578 GB, free: 8.609 MB / 462.1 MB Notification: Performance of Templates: time 0.007842/0.8066, allocations: 4.421 MB / 0.5823 GB, free: 6.469 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/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: 8.140362424077466]