Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001872/0.001872, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 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.001354/0.001354, allocations: 209.3 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.205, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0324/0.2374, allocations: 24.03 MB / 456.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.2404, allocations: 2.017 MB / 458.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.2404, allocations: 0 / 458.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.2407, allocations: 55.61 kB / 458.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.2411, allocations: 159 kB / 458.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0149/0.256, allocations: 6.516 MB / 465.1 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004482/0.2564, allocations: 338.7 kB / 465.4 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.2565, allocations: 9.688 kB / 465.4 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.2567, allocations: 143.5 kB / 465.6 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.2569, allocations: 131.5 kB / 465.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.257, allocations: 12 kB / 465.7 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01485/0.2718, allocations: 9.296 MB / 475 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2719, allocations: 75.78 kB / 475.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.272, allocations: 95.59 kB / 475.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006568/0.2786, allocations: 4.685 MB / 479.9 MB, free: 7.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2786, allocations: 0 / 479.9 MB, free: 7.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2786, allocations: 0 / 479.9 MB, free: 7.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2786, allocations: 0 / 479.9 MB, free: 7.078 MB / 382.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.002817/0.2814, allocations: 1.108 MB / 481 MB, free: 5.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2815, allocations: 8.031 kB / 481 MB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.2816, allocations: 24.22 kB / 481 MB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.2819, allocations: 160.9 kB / 481.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.2819, allocations: 16.33 kB / 481.2 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.282, allocations: 15.95 kB / 481.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/0.2828, allocations: 400.2 kB / 481.6 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2828, allocations: 8 kB / 481.6 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.2829, allocations: 4 kB / 481.6 MB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.2829, allocations: 11.94 kB / 481.6 MB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008695/0.2838, allocations: 306.1 kB / 481.9 MB, free: 4.941 MB / 382.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.001478/0.2852, allocations: 0.6594 MB / 482.6 MB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.286, allocations: 241.1 kB / 482.8 MB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.2863, allocations: 129.6 kB / 482.9 MB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01287/0.2992, allocations: 2.686 MB / 485.6 MB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.2993, allocations: 34.56 kB / 485.7 MB, free: 1.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.2993, allocations: 0 / 485.7 MB, free: 1.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00301/0.3023, allocations: 0.7071 MB / 486.4 MB, free: 420 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.3023, allocations: 81.11 kB / 486.4 MB, free: 320 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3025, allocations: 149.8 kB / 486.6 MB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.3025, allocations: 33.7 kB / 486.6 MB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.3026, allocations: 112.9 kB / 486.7 MB, free: 4 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.3027, allocations: 131 kB / 486.9 MB, free: 15.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.3028, allocations: 81.58 kB / 486.9 MB, free: 15.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.303, allocations: 330.8 kB / 487.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.3034, allocations: 135.9 kB / 487.4 MB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.3039, allocations: 219.5 kB / 487.6 MB, free: 15.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.3049, allocations: 354.5 kB / 488 MB, free: 14.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3049, allocations: 3.938 kB / 488 MB, free: 14.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001269/0.3062, allocations: 425.1 kB / 488.4 MB, free: 14.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3062, allocations: 4 kB / 488.4 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3062, allocations: 4 kB / 488.4 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3063, allocations: 4 kB / 488.4 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/0.3068, allocations: 92.09 kB / 488.5 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.3068, allocations: 7.938 kB / 488.5 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.3071, allocations: 23.94 kB / 488.5 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.3072, allocations: 19.98 kB / 488.5 MB, free: 14.13 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.0001566/0.3073, allocations: 145.7 kB / 488.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.3075, allocations: 19.91 kB / 488.7 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005191/0.308, allocations: 201.5 kB / 488.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.308, allocations: 0 / 488.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.308, allocations: 3.938 kB / 488.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.3082, allocations: 47.84 kB / 488.9 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.3082, allocations: 11.94 kB / 488.9 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.3086, allocations: 19.98 kB / 489 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.3087, allocations: 27.95 kB / 489 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001458/0.3101, allocations: 0.531 MB / 489.5 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001749/0.3119, allocations: 0.7856 MB / 490.3 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004693/0.3124, allocations: 151.9 kB / 490.5 MB, free: 12.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.59e-05/0.3124, allocations: 114 kB / 490.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of Backend: time 4.3e-07/0.3124, allocations: 0 / 490.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006293/0.3187, allocations: 1.949 MB / 492.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of SimCode: time 0.001124/0.3199, allocations: 0.9459 MB / 493.5 MB, free: 9.098 MB / 398.1 MB Notification: Performance of Templates: time 0.05754/0.3774, allocations: 41.18 MB / 0.5221 GB, free: 15.93 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.468951624003239]