Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 103 kB / 16.51 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009287/0.0009287, allocations: 52.31 kB / 300 MB, free: 6.336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07689/0.07784, allocations: 49.44 MB / 349.4 MB, free: 4.887 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1679/0.2457, allocations: 28.21 MB / 377.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.2482, allocations: 2.35 MB / 380 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.2483, allocations: 1.375 kB / 380 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.2486, allocations: 62.44 kB / 380 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.2489, allocations: 147.1 kB / 380.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01425/0.2632, allocations: 5.394 MB / 385.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006692/0.2639, allocations: 471.5 kB / 386 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.573e-05/0.2639, allocations: 7.844 kB / 386 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.2642, allocations: 119 kB / 386.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.2644, allocations: 125.3 kB / 386.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.2644, allocations: 6.875 kB / 386.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.2797, allocations: 9.58 MB / 395.8 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.2798, allocations: 72.3 kB / 395.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.28, allocations: 90.88 kB / 396 MB, free: 4.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007938/0.2879, allocations: 4.774 MB / 400.8 MB, free: 1.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.288, allocations: 0 / 400.8 MB, free: 1.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.288, allocations: 0 / 400.8 MB, free: 1.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.288, allocations: 0 / 400.8 MB, free: 1.684 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.002694/0.2907, allocations: 1.118 MB / 401.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2907, allocations: 8.031 kB / 401.9 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.2909, allocations: 20.94 kB / 401.9 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2911, allocations: 222.1 kB / 402.1 MB, free: 304 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.2911, allocations: 16.33 kB / 402.2 MB, free: 288 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.2911, allocations: 19.92 kB / 402.2 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.2918, allocations: 289.4 kB / 402.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2918, allocations: 0 / 402.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.2918, allocations: 8 kB / 402.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.2919, allocations: 7.984 kB / 402.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007913/0.2927, allocations: 319.6 kB / 402.8 MB, free: 15.64 MB / 318.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.00136/0.294, allocations: 0.8091 MB / 403.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007162/0.2948, allocations: 257.2 kB / 403.9 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.2951, allocations: 134.3 kB / 404 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/0.3107, allocations: 12.85 MB / 416.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3107, allocations: 42.56 kB / 416.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 3.246e-06/0.3107, allocations: 0 / 416.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002844/0.3136, allocations: 0.6864 MB / 417.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3136, allocations: 81.11 kB / 417.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.3137, allocations: 129.8 kB / 417.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.3138, allocations: 29.7 kB / 417.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.3138, allocations: 112.7 kB / 417.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/0.3139, allocations: 130.1 kB / 418 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.3141, allocations: 69.69 kB / 418.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.3142, allocations: 330.8 kB / 418.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.3146, allocations: 139.8 kB / 418.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.315, allocations: 211.5 kB / 418.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/0.316, allocations: 359.5 kB / 419.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.316, allocations: 0 / 419.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001132/0.3171, allocations: 418.4 kB / 419.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3171, allocations: 7.125 kB / 419.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3172, allocations: 4 kB / 419.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3172, allocations: 4 kB / 419.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.3177, allocations: 92.09 kB / 419.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.3177, allocations: 15.59 kB / 419.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.318, allocations: 27.83 kB / 419.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.3181, allocations: 19.98 kB / 419.7 MB, free: 12 MB / 334.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.0001294/0.3182, allocations: 141.7 kB / 419.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.3183, allocations: 19.81 kB / 419.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.3188, allocations: 180.7 kB / 420 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3188, allocations: 4 kB / 420 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3189, allocations: 7.938 kB / 420 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3189, allocations: 3.984 kB / 420 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.3205, allocations: 0.7585 MB / 420.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3205, allocations: 4 kB / 420.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.321, allocations: 75.88 kB / 420.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.321, allocations: 4.156 kB / 420.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.321, allocations: 23.88 kB / 420.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.321, allocations: 4 kB / 420.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.321, allocations: 3.984 kB / 420.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.3225, allocations: 0.7012 MB / 421.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.3226, allocations: 128.8 kB / 421.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.3227, allocations: 11.98 kB / 421.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.3231, allocations: 15.98 kB / 421.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.3231, allocations: 35.84 kB / 421.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.3232, allocations: 11.98 kB / 421.8 MB, free: 9.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.759e-05/0.3232, allocations: 103.3 kB / 421.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3232, allocations: 0 / 421.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002531/0.3258, allocations: 0.937 MB / 422.9 MB, free: 8.703 MB / 334.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.003647/0.3294, allocations: 1.25 MB / 424.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000918/0.3304, allocations: 335.2 kB / 424.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3304, allocations: 12 kB / 424.4 MB, free: 7.117 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004474/0.3308, allocations: 178.2 kB / 424.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.3316, allocations: 94.97 kB / 424.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3329, allocations: 0.6821 MB / 425.4 MB, free: 6.133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.3331, allocations: 0.7296 MB / 426.1 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004247/0.3336, allocations: 93.86 kB / 426.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.3337, allocations: 39.42 kB / 426.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3337, allocations: 0 / 426.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of Templates: time 0.03701/0.3707, allocations: 29.25 MB / 455.5 MB, free: 8.016 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches