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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2062, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03018/0.2364, allocations: 26.64 MB / 436.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.2393, allocations: 2.243 MB / 438.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.2394, allocations: 3.938 kB / 438.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.2398, allocations: 67.64 kB / 438.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.2402, allocations: 167 kB / 439 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01457/0.2548, allocations: 6.514 MB / 445.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.2552, allocations: 338.7 kB / 445.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.2552, allocations: 13.56 kB / 445.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.2554, allocations: 143.5 kB / 446 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.2556, allocations: 119.6 kB / 446.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.2557, allocations: 12 kB / 446.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01447/0.2701, allocations: 9.537 MB / 455.7 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2703, allocations: 71.8 kB / 455.8 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.2704, allocations: 99.58 kB / 455.9 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007292/0.2777, allocations: 4.733 MB / 460.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2777, allocations: 0 / 460.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2777, allocations: 0 / 460.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2777, allocations: 0 / 460.6 MB, free: 14.8 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.003177/0.2809, allocations: 1.143 MB / 461.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.281, allocations: 8.031 kB / 461.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.2811, allocations: 24.12 kB / 461.8 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.2814, allocations: 222.7 kB / 462 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2814, allocations: 12.33 kB / 462 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.2815, allocations: 16 kB / 462 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000724/0.2822, allocations: 293.4 kB / 462.3 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.2823, allocations: 4 kB / 462.3 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.2823, allocations: 4 kB / 462.3 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.2823, allocations: 11.94 kB / 462.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008024/0.2831, allocations: 311.7 kB / 462.6 MB, free: 12.67 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.00147/0.2846, allocations: 0.836 MB / 463.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.2854, allocations: 248.6 kB / 463.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.2857, allocations: 141.6 kB / 463.9 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01605/0.3017, allocations: 12.85 MB / 476.7 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3018, allocations: 34.55 kB / 476.7 MB, free: 11.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.784e-06/0.3018, allocations: 0 / 476.7 MB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002897/0.3047, allocations: 0.7075 MB / 477.4 MB, free: 11.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3048, allocations: 85.09 kB / 477.5 MB, free: 11.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3049, allocations: 144 kB / 477.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.305, allocations: 33.7 kB / 477.7 MB, free: 10.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.305, allocations: 112.8 kB / 477.8 MB, free: 10.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.3051, allocations: 134.2 kB / 477.9 MB, free: 10.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3053, allocations: 65.64 kB / 478 MB, free: 10.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3054, allocations: 334.8 kB / 478.3 MB, free: 10.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.3058, allocations: 135.9 kB / 478.5 MB, free: 10.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.3063, allocations: 207.6 kB / 478.7 MB, free: 9.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009267/0.3072, allocations: 367.2 kB / 479 MB, free: 9.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3072, allocations: 0 / 479 MB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001169/0.3084, allocations: 420.6 kB / 479.4 MB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3084, allocations: 4 kB / 479.4 MB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3085, allocations: 4 kB / 479.4 MB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3085, allocations: 4 kB / 479.5 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.309, allocations: 95.75 kB / 479.5 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.309, allocations: 7.984 kB / 479.6 MB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.3093, allocations: 36.05 kB / 479.6 MB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.3094, allocations: 15.98 kB / 479.6 MB, free: 8.965 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.0001365/0.3095, allocations: 137.8 kB / 479.7 MB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.3097, allocations: 19.81 kB / 479.8 MB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/0.3102, allocations: 186.7 kB / 479.9 MB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3102, allocations: 7.922 kB / 479.9 MB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3102, allocations: 4 kB / 480 MB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.3104, allocations: 128.7 kB / 480.1 MB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.3104, allocations: 7.938 kB / 480.1 MB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.3108, allocations: 23.97 kB / 480.1 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.3109, allocations: 27.97 kB / 480.1 MB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001344/0.3122, allocations: 0.53 MB / 480.7 MB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001585/0.3138, allocations: 0.779 MB / 481.4 MB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004442/0.3143, allocations: 163.9 kB / 481.6 MB, free: 6.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.295e-05/0.3143, allocations: 110 kB / 481.7 MB, free: 6.805 MB / 398.1 MB Notification: Performance of Backend: time 1.704e-06/0.3144, allocations: 0 / 481.7 MB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006973/0.3213, allocations: 1.959 MB / 483.7 MB, free: 4.84 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009977/0.3224, allocations: 0.949 MB / 484.6 MB, free: 3.844 MB / 398.1 MB Notification: Performance of Templates: time 0.05325/0.3756, allocations: 40.45 MB / 0.5128 GB, free: 11.36 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches