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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.0009983/0.0009983, allocations: 108.4 kB / 18.34 MB, free: 4.809 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.001011/0.001011, allocations: 186.9 kB / 19.28 MB, free: 3.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001836, allocations: 51.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09515, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03019/0.1254, allocations: 26.6 MB / 355.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.128, allocations: 2.22 MB / 357.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.1281, allocations: 4 kB / 357.5 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.1285, allocations: 67.64 kB / 357.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.1289, allocations: 155 kB / 357.8 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01399/0.1429, allocations: 6.155 MB / 363.9 MB, free: 436 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.1434, allocations: 322.6 kB / 364.2 MB, free: 112 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.1434, allocations: 9.125 kB / 364.2 MB, free: 100 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.1436, allocations: 135.5 kB / 364.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1438, allocations: 111.6 kB / 364.5 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.1439, allocations: 12 kB / 364.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.1586, allocations: 9.394 MB / 373.9 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1588, allocations: 71.83 kB / 373.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.159, allocations: 95.53 kB / 374 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009053/0.168, allocations: 4.679 MB / 378.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1681, allocations: 0 / 378.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1681, allocations: 0 / 378.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1681, allocations: 0 / 378.7 MB, free: 1.586 MB / 318.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.002855/0.1709, allocations: 1.108 MB / 379.8 MB, free: 436 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.171, allocations: 8.031 kB / 379.8 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.1712, allocations: 24.5 kB / 379.9 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1714, allocations: 222.7 kB / 380.1 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1714, allocations: 8.328 kB / 380.1 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.1715, allocations: 16 kB / 380.1 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1369/0.3084, allocations: 286.3 kB / 380.4 MB, free: 53.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.3085, allocations: 0 / 380.4 MB, free: 53.15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.3085, allocations: 6.609 kB / 380.4 MB, free: 53.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.3086, allocations: 6.188 kB / 380.4 MB, free: 53.15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000845/0.3094, allocations: 318.3 kB / 380.7 MB, free: 53.15 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.001402/0.3108, allocations: 0.8186 MB / 381.5 MB, free: 52.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/0.3115, allocations: 253.7 kB / 381.8 MB, free: 52.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.3119, allocations: 133.9 kB / 381.9 MB, free: 52.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01365/0.3255, allocations: 12.85 MB / 394.8 MB, free: 39.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.3256, allocations: 36.08 kB / 394.8 MB, free: 39.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.3256, allocations: 0 / 394.8 MB, free: 39.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002727/0.3283, allocations: 0.6942 MB / 395.5 MB, free: 39.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.3283, allocations: 85.38 kB / 395.6 MB, free: 39.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.3284, allocations: 122.3 kB / 395.7 MB, free: 39.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.3285, allocations: 35.92 kB / 395.7 MB, free: 39.28 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.3285, allocations: 112.8 kB / 395.8 MB, free: 39.17 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.3286, allocations: 125.9 kB / 396 MB, free: 39.08 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.3287, allocations: 69.42 kB / 396 MB, free: 39.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.3288, allocations: 331.6 kB / 396.3 MB, free: 38.72 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.3292, allocations: 134.5 kB / 396.5 MB, free: 38.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.3297, allocations: 206.4 kB / 396.7 MB, free: 38.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008701/0.3305, allocations: 365 kB / 397 MB, free: 38.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3305, allocations: 0.9688 kB / 397 MB, free: 38.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00113/0.3317, allocations: 416.9 kB / 397.4 MB, free: 38.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3317, allocations: 6.406 kB / 397.4 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3317, allocations: 8.859 kB / 397.5 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.3318, allocations: 3.406 kB / 397.5 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.3323, allocations: 90.44 kB / 397.5 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3323, allocations: 5.422 kB / 397.6 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.3326, allocations: 32 kB / 397.6 MB, free: 38.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.3326, allocations: 18.89 kB / 397.6 MB, free: 38.17 MB / 318.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.0001144/0.3328, allocations: 144.1 kB / 397.7 MB, free: 38.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.3329, allocations: 18.78 kB / 397.8 MB, free: 38.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.3334, allocations: 195.8 kB / 398 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3334, allocations: 4.375 kB / 398 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3334, allocations: 2.312 kB / 398 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.3334, allocations: 5.156 kB / 398 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.335, allocations: 0.7576 MB / 398.7 MB, free: 37.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.335, allocations: 1.594 kB / 398.7 MB, free: 37.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.3354, allocations: 86.91 kB / 398.8 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.3354, allocations: 2.531 kB / 398.8 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.3355, allocations: 13.94 kB / 398.8 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.3355, allocations: 10.58 kB / 398.8 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3355, allocations: 1.156 kB / 398.8 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.3369, allocations: 0.7038 MB / 399.5 MB, free: 37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.337, allocations: 121.8 kB / 399.7 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.3371, allocations: 7.875 kB / 399.7 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.3374, allocations: 25.25 kB / 399.7 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.3375, allocations: 24.06 kB / 399.7 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.3375, allocations: 18.64 kB / 399.7 MB, free: 36.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.468e-05/0.3376, allocations: 96.56 kB / 399.8 MB, free: 36.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3376, allocations: 0 / 399.8 MB, free: 36.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002337/0.3399, allocations: 0.9248 MB / 400.8 MB, free: 36.71 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.003951/0.3439, allocations: 1.264 MB / 402 MB, free: 36.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009066/0.3448, allocations: 364 kB / 402.4 MB, free: 36.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3448, allocations: 0 / 402.4 MB, free: 36.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.3452, allocations: 180.8 kB / 402.5 MB, free: 36.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/0.3459, allocations: 96.66 kB / 402.6 MB, free: 36.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.3471, allocations: 0.5956 MB / 403.2 MB, free: 35.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.3472, allocations: 0.735 MB / 404 MB, free: 35.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.3476, allocations: 85.92 kB / 404.1 MB, free: 35.19 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.3477, allocations: 38.52 kB / 404.1 MB, free: 35.18 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3477, allocations: 0 / 404.1 MB, free: 35.18 MB / 318.1 MB Notification: Performance of Templates: time 0.03156/0.3793, allocations: 30.84 MB / 434.9 MB, free: 8.121 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches