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.00158/0.00158, allocations: 89.64 kB / 21.45 MB, free: 272 kB / 14.72 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.001946/0.001946, allocations: 163.8 kB / 24.7 MB, free: 3.523 MB / 14.72 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 1.375/1.375, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 178] 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 2.044e-06/2.044e-06, allocations: 0 / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.105e-05/3.309e-05, allocations: 6.281 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03595/0.03598, allocations: 23.95 MB / 322.9 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1587/0.1947, allocations: 1.991 MB / 324.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1948, allocations: 1.375 kB / 324.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.1951, allocations: 55.25 kB / 325 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.1955, allocations: 164.9 kB / 325.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.2114, allocations: 6.237 MB / 331.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.2119, allocations: 315.5 kB / 331.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.212, allocations: 12.31 kB / 331.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.2122, allocations: 174.5 kB / 331.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.2124, allocations: 112.3 kB / 332 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.2125, allocations: 11.16 kB / 332 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01796/0.2304, allocations: 8.868 MB / 340.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.2306, allocations: 78.38 kB / 340.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.2308, allocations: 72.14 kB / 341 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.2439, allocations: 5.834 MB / 346.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2439, allocations: 0 / 346.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2439, allocations: 0 / 346.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2439, allocations: 0 / 346.8 MB, free: 8.113 MB / 302.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.003818/0.2478, allocations: 1.062 MB / 347.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2478, allocations: 12.14 kB / 347.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.248, allocations: 27.06 kB / 347.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.2482, allocations: 155 kB / 348.1 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2482, allocations: 12.73 kB / 348.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.2483, allocations: 23.09 kB / 348.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.249, allocations: 389.9 kB / 348.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.249, allocations: 3.938 kB / 348.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.249, allocations: 11.84 kB / 348.5 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.2491, allocations: 6.031 kB / 348.5 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/0.2499, allocations: 307.6 kB / 348.8 MB, free: 6.711 MB / 302.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.001214/0.2511, allocations: 0.6547 MB / 349.5 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.2517, allocations: 241.8 kB / 349.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.252, allocations: 129.5 kB / 349.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.2627, allocations: 2.705 MB / 352.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.2627, allocations: 30.56 kB / 352.6 MB, free: 4.066 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.2627, allocations: 0 / 352.6 MB, free: 4.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.0028/0.2655, allocations: 0.7011 MB / 353.3 MB, free: 3.371 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.2656, allocations: 85.05 kB / 353.3 MB, free: 3.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.2657, allocations: 126.2 kB / 353.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.2657, allocations: 29.7 kB / 353.5 MB, free: 3.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.2657, allocations: 116.9 kB / 353.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.181e-05/0.2658, allocations: 132 kB / 353.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.2659, allocations: 73.62 kB / 353.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.266, allocations: 326.8 kB / 354.1 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.2663, allocations: 135.9 kB / 354.3 MB, free: 2.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.2668, allocations: 206.5 kB / 354.5 MB, free: 2.094 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000884/0.2677, allocations: 361.9 kB / 354.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2677, allocations: 3.625 kB / 354.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00114/0.2688, allocations: 413.4 kB / 355.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2688, allocations: 8 kB / 355.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2689, allocations: 1.078 kB / 355.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.2689, allocations: 4.219 kB / 355.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.2693, allocations: 101.7 kB / 355.3 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2694, allocations: 4 kB / 355.3 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.2697, allocations: 27.88 kB / 355.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.2697, allocations: 19.98 kB / 355.4 MB, free: 1.164 MB / 302.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.0001335/0.2699, allocations: 139.8 kB / 355.5 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.27, allocations: 19.84 kB / 355.5 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.2705, allocations: 192.4 kB / 355.7 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2705, allocations: 4 kB / 355.7 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.2705, allocations: 3.984 kB / 355.7 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.2705, allocations: 0 / 355.7 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.272, allocations: 0.6727 MB / 356.4 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.272, allocations: 4.156 kB / 356.4 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.2724, allocations: 81.28 kB / 356.5 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.2724, allocations: 0 / 356.5 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.2725, allocations: 19.94 kB / 356.5 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.2725, allocations: 3.984 kB / 356.5 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.182e-05/0.2725, allocations: 4.203 kB / 356.5 MB, free: 16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.2743, allocations: 0.699 MB / 357.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.2745, allocations: 43.86 kB / 357.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.2745, allocations: 11.98 kB / 357.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.2749, allocations: 24.05 kB / 357.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.275, allocations: 38.73 kB / 357.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.275, allocations: 15.98 kB / 357.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.061e-05/0.2751, allocations: 99.31 kB / 357.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2751, allocations: 0 / 357.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003143/0.2783, allocations: 0.9355 MB / 358.4 MB, free: 14.11 MB / 318.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.00608/0.2843, allocations: 1.399 MB / 359.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.2857, allocations: 349 kB / 360.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.2857, allocations: 0 / 360.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.2862, allocations: 171.8 kB / 360.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008993/0.2871, allocations: 97.78 kB / 360.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2887, allocations: 0.5271 MB / 360.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.2889, allocations: 120.9 kB / 361 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003931/0.2893, allocations: 81.89 kB / 361.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.2894, allocations: 48.47 kB / 361.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of SimCode: time 9.81e-07/0.2894, allocations: 3.938 kB / 361.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of Templates: time 0.0519/0.3413, allocations: 31.2 MB / 392.4 MB, free: 12.19 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.205513950437307]