Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.000934/0.000934, allocations: 84.98 kB / 23 MB, free: 1.504 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.0009413/0.0009413, allocations: 177.3 kB / 26.39 MB, free: 8.008 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8983/0.8983, allocations: 158.6 MB / 188.3 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.262e-05, allocations: 2.312 kB / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02193/0.02195, allocations: 26.08 MB / 278.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.024, allocations: 2.2 MB / 280.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.02408, allocations: 4 kB / 280.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.0244, allocations: 63.59 kB / 280.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.02472, allocations: 155 kB / 280.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01104/0.03576, allocations: 6.233 MB / 287 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.0361, allocations: 318.7 kB / 287.3 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.03614, allocations: 5.312 kB / 287.3 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.03633, allocations: 183.5 kB / 287.5 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.0365, allocations: 107.7 kB / 287.6 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.03653, allocations: 16 kB / 287.6 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/0.04663, allocations: 8.88 MB / 296.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.061e-05/0.04671, allocations: 83.78 kB / 296.6 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.04679, allocations: 71.89 kB / 296.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007054/0.05384, allocations: 5.803 MB / 302.4 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.05385, allocations: 0 / 302.4 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.05385, allocations: 0 / 302.4 MB, free: 4.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.05385, allocations: 0 / 302.4 MB, free: 4.91 MB / 282.7 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.002762/0.05662, allocations: 1.143 MB / 303.6 MB, free: 3.723 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.05665, allocations: 11.98 kB / 303.6 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.0568, allocations: 48.47 kB / 303.6 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.05704, allocations: 155.8 kB / 303.8 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.05706, allocations: 12.33 kB / 303.8 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.05711, allocations: 20 kB / 303.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.05757, allocations: 310.7 kB / 304.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.05758, allocations: 15.89 kB / 304.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.0576, allocations: 8 kB / 304.1 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.05763, allocations: 4 kB / 304.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.05784, allocations: 131.7 kB / 304.3 MB, free: 2.953 MB / 282.7 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.0008424/0.05868, allocations: 0.6738 MB / 304.9 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.05902, allocations: 210.1 kB / 305.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.0591, allocations: 75.33 kB / 305.2 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004833/0.06394, allocations: 2.45 MB / 307.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.06397, allocations: 49.31 kB / 307.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.06397, allocations: 0 / 307.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009808/0.06495, allocations: 468.4 kB / 308.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.06498, allocations: 89.05 kB / 308.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.06506, allocations: 177.9 kB / 308.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.06509, allocations: 37.7 kB / 308.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.06515, allocations: 155.6 kB / 308.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/0.06522, allocations: 142.8 kB / 308.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.06531, allocations: 71.33 kB / 308.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.06542, allocations: 0.5001 MB / 309.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.0655, allocations: 67.95 kB / 309.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.06565, allocations: 165.1 kB / 309.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.06616, allocations: 249.1 kB / 309.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.06616, allocations: 0 / 309.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004088/0.06657, allocations: 301 kB / 310.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.06658, allocations: 4 kB / 310.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.06659, allocations: 4 kB / 310.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.659e-06/0.0666, allocations: 8.156 kB / 310.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.06681, allocations: 87.88 kB / 310.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.06681, allocations: 4 kB / 310.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.06692, allocations: 19.89 kB / 310.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.06694, allocations: 19.98 kB / 310.3 MB, free: 12.74 MB / 298.7 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 9.177e-05/0.06703, allocations: 176.5 kB / 310.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.06713, allocations: 51.61 kB / 310.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.06737, allocations: 154.5 kB / 310.6 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.06738, allocations: 4 kB / 310.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.06738, allocations: 4 kB / 310.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.06739, allocations: 3.984 kB / 310.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.06802, allocations: 0.5897 MB / 311.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.06803, allocations: 0 / 311.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.0682, allocations: 75.89 kB / 311.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.06821, allocations: 4 kB / 311.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.06823, allocations: 15.88 kB / 311.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.06824, allocations: 7.938 kB / 311.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.06824, allocations: 0 / 311.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.06876, allocations: 0.6348 MB / 312 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.06883, allocations: 43.8 kB / 312 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.06885, allocations: 19.94 kB / 312 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.06899, allocations: 12 kB / 312 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.06902, allocations: 27.95 kB / 312.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.06904, allocations: 11.98 kB / 312.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.788e-05/0.06907, allocations: 135.2 kB / 312.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06908, allocations: 4.031 kB / 312.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001762/0.07084, allocations: 0.9355 MB / 313.1 MB, free: 9.727 MB / 298.7 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.002614/0.07345, allocations: 1.43 MB / 314.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.07375, allocations: 227.2 kB / 314.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.07375, allocations: 0 / 314.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.07389, allocations: 131.1 kB / 314.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.07431, allocations: 115.8 kB / 315 MB, free: 7.828 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008551/0.07517, allocations: 0.5032 MB / 315.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.168e-05/0.07522, allocations: 85.33 kB / 315.6 MB, free: 7.164 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.07541, allocations: 65.89 kB / 315.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.07563, allocations: 170.1 kB / 315.9 MB, free: 6.934 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.07563, allocations: 3.938 kB / 315.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of Templates: time 0.0339/0.1095, allocations: 37.64 MB / 353.5 MB, free: 1.254 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/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.720574441831559]