Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001892/0.001892, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002216/0.002216, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 60.08 kB / 373.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0971/0.09902, allocations: 53.34 MB / 427.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2161/0.3152, allocations: 26.73 MB / 453.9 MB, free: 8.242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.3178, allocations: 2.262 MB / 456.2 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/0.3179, allocations: 1.406 kB / 456.2 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.3183, allocations: 60.88 kB / 456.2 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.3187, allocations: 173.5 kB / 456.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01584/0.3345, allocations: 6.537 MB / 462.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.335, allocations: 332.6 kB / 463.2 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.3351, allocations: 10.33 kB / 463.3 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.3353, allocations: 142.6 kB / 463.4 MB, free: 7.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.3355, allocations: 129.6 kB / 463.5 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.3356, allocations: 12.56 kB / 463.5 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0168/0.3524, allocations: 9.665 MB / 473.2 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.3525, allocations: 66.7 kB / 473.3 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.3527, allocations: 100 kB / 473.4 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.3631, allocations: 4.75 MB / 478.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3631, allocations: 0 / 478.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3631, allocations: 0 / 478.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.3631, allocations: 9.516 kB / 478.1 MB, free: 1.629 MB / 366.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.003835/0.3669, allocations: 1.177 MB / 479.3 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.367, allocations: 9.094 kB / 479.3 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.3672, allocations: 25.84 kB / 479.3 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.3674, allocations: 223.2 kB / 479.6 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3674, allocations: 14.45 kB / 479.6 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.3675, allocations: 18.92 kB / 479.6 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/0.3682, allocations: 281.6 kB / 479.9 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.3682, allocations: 1.359 kB / 479.9 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.3683, allocations: 14.53 kB / 479.9 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.3683, allocations: 8.891 kB / 479.9 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007944/0.3691, allocations: 316.1 kB / 480.2 MB, free: 144 kB / 366.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.001641/0.3707, allocations: 0.8257 MB / 481 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.3715, allocations: 243.6 kB / 481.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.3718, allocations: 127.3 kB / 481.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0179/0.3897, allocations: 12.84 MB / 494.2 MB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.3898, allocations: 33.31 kB / 494.3 MB, free: 1.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.455e-06/0.3898, allocations: 0 / 494.3 MB, free: 1.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003112/0.3929, allocations: 0.7065 MB / 495 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.393, allocations: 89.48 kB / 495 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3931, allocations: 143.1 kB / 495.2 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.3932, allocations: 32.02 kB / 495.2 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.3932, allocations: 113.5 kB / 495.3 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.3934, allocations: 133.6 kB / 495.5 MB, free: 424 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.3935, allocations: 68.95 kB / 495.5 MB, free: 376 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3937, allocations: 331.5 kB / 495.8 MB, free: 40 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.3941, allocations: 139.1 kB / 496 MB, free: 15.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.3946, allocations: 213 kB / 496.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009823/0.3956, allocations: 356.8 kB / 496.5 MB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.3956, allocations: 1.375 kB / 496.5 MB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001279/0.3969, allocations: 428.7 kB / 497 MB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3969, allocations: 6.875 kB / 497 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3969, allocations: 0 / 497 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.397, allocations: 9.125 kB / 497 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.3974, allocations: 94.78 kB / 497.1 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.3975, allocations: 5.75 kB / 497.1 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.3978, allocations: 25.3 kB / 497.1 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.3978, allocations: 20.67 kB / 497.1 MB, free: 15.32 MB / 398.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.0001755/0.398, allocations: 140.5 kB / 497.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.3982, allocations: 27.98 kB / 497.3 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.3987, allocations: 186.6 kB / 497.5 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3987, allocations: 8.516 kB / 497.5 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.3987, allocations: 2.438 kB / 497.5 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3987, allocations: 4 kB / 497.5 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.4007, allocations: 0.785 MB / 498.3 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4007, allocations: 0 / 498.3 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.4011, allocations: 81.48 kB / 498.3 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.4011, allocations: 6.562 kB / 498.4 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.4011, allocations: 12.14 kB / 498.4 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.4011, allocations: 7.094 kB / 498.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4011, allocations: 2.906 kB / 498.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.4028, allocations: 0.7124 MB / 499.1 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.403, allocations: 127.2 kB / 499.2 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.403, allocations: 20.64 kB / 499.2 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.4034, allocations: 16.77 kB / 499.2 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.4035, allocations: 29.03 kB / 499.3 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.4035, allocations: 17.8 kB / 499.3 MB, free: 13.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.831e-05/0.4036, allocations: 107.2 kB / 499.4 MB, free: 13.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4036, allocations: 0 / 499.4 MB, free: 13.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003408/0.407, allocations: 0.9741 MB / 0.4886 GB, free: 13.41 MB / 398.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 (37): * Single equations (assignments): 37 * 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.005896/0.4129, allocations: 1.263 MB / 0.4899 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.4141, allocations: 331.5 kB / 0.4902 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4141, allocations: 448 / 0.4902 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005342/0.4146, allocations: 179.9 kB / 0.4904 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.4154, allocations: 97.39 kB / 0.4905 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.417, allocations: 0.6284 MB / 0.4911 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.4174, allocations: 0.7374 MB / 0.4918 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003634/0.4177, allocations: 84.77 kB / 0.4919 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.4179, allocations: 39.42 kB / 0.4919 GB, free: 10.48 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4179, allocations: 0 / 0.4919 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Templates: time 0.04787/0.4658, allocations: 29.96 MB / 0.5212 GB, free: 12.58 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.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: 6.274611612781882]