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.001365/0.001365, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001427/0.001427, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.432/1.432, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 55.92 kB / 347.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2467, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03318/0.2799, allocations: 26.83 MB / 423.7 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.2832, allocations: 2.255 MB / 425.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.2833, allocations: 1.062 kB / 425.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.2837, allocations: 60.77 kB / 426 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.2841, allocations: 155 kB / 426.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01775/0.3018, allocations: 6.21 MB / 432.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.3024, allocations: 316.7 kB / 432.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.3025, allocations: 9.297 kB / 432.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.3028, allocations: 139.6 kB / 432.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.303, allocations: 123.5 kB / 432.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.3031, allocations: 12 kB / 432.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01943/0.3225, allocations: 9.569 MB / 442.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.3227, allocations: 71.83 kB / 442.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.3229, allocations: 91.59 kB / 442.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.3355, allocations: 4.693 MB / 447.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3355, allocations: 0 / 447.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3355, allocations: 0 / 447.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3355, allocations: 0 / 447.4 MB, free: 0.793 MB / 350.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.003433/0.339, allocations: 1.067 MB / 448.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.339, allocations: 11.98 kB / 448.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.3392, allocations: 28.55 kB / 448.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.3395, allocations: 164.9 kB / 448.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.3395, allocations: 12.33 kB / 448.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.3395, allocations: 16 kB / 448.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/0.3403, allocations: 289.4 kB / 448.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3403, allocations: 0 / 448.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.3403, allocations: 8 kB / 448.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.3404, allocations: 7.984 kB / 449 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.3412, allocations: 311.7 kB / 449.3 MB, free: 14.82 MB / 366.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.001605/0.3428, allocations: 0.7962 MB / 450.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007619/0.3436, allocations: 237.2 kB / 450.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.3439, allocations: 130.9 kB / 450.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01252/0.3564, allocations: 2.702 MB / 453.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.3565, allocations: 34.56 kB / 453.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.3565, allocations: 0 / 453.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002929/0.3594, allocations: 0.6888 MB / 453.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.3595, allocations: 85.11 kB / 453.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3596, allocations: 125.8 kB / 454 MB, free: 9.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.3596, allocations: 33.7 kB / 454.1 MB, free: 9.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.3597, allocations: 108.9 kB / 454.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.3598, allocations: 130.9 kB / 454.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.36, allocations: 73.62 kB / 454.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3601, allocations: 330.8 kB / 454.7 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.3605, allocations: 131.9 kB / 454.8 MB, free: 9.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/0.3611, allocations: 215.5 kB / 455 MB, free: 8.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.3621, allocations: 351.5 kB / 455.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3621, allocations: 4 kB / 455.4 MB, free: 8.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001239/0.3633, allocations: 418 kB / 455.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3633, allocations: 12.03 kB / 455.8 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3633, allocations: 0 / 455.8 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3634, allocations: 4 kB / 455.8 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.3639, allocations: 91.86 kB / 455.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.3639, allocations: 3.938 kB / 455.9 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.3642, allocations: 31.88 kB / 455.9 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.3642, allocations: 23.98 kB / 456 MB, free: 7.883 MB / 366.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.000153/0.3644, allocations: 137.7 kB / 456.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.3645, allocations: 23.89 kB / 456.1 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.3651, allocations: 186.5 kB / 456.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3651, allocations: 7.938 kB / 456.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3651, allocations: 7.922 kB / 456.3 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3651, allocations: 8 kB / 456.3 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.3669, allocations: 0.7393 MB / 457.1 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3669, allocations: 4 kB / 457.1 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.3674, allocations: 80.03 kB / 457.1 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.3674, allocations: 7.984 kB / 457.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.3674, allocations: 12 kB / 457.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.3674, allocations: 4 kB / 457.2 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3674, allocations: 4 kB / 457.2 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.3691, allocations: 0.7106 MB / 457.9 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.3692, allocations: 43.86 kB / 457.9 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.3692, allocations: 8 kB / 457.9 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.3696, allocations: 23.97 kB / 458 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3697, allocations: 27.89 kB / 458 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.3697, allocations: 16.06 kB / 458 MB, free: 5.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.916e-05/0.3698, allocations: 107.6 kB / 458.1 MB, free: 5.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3698, allocations: 3.938 kB / 458.1 MB, free: 5.625 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002662/0.3724, allocations: 0.9394 MB / 459.1 MB, free: 4.684 MB / 366.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.004517/0.377, allocations: 1.27 MB / 460.3 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.378, allocations: 328 kB / 460.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.378, allocations: 0 / 460.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004891/0.3785, allocations: 175.6 kB / 460.8 MB, free: 2.906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007403/0.3793, allocations: 92.14 kB / 460.9 MB, free: 2.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.3808, allocations: 0.6058 MB / 461.5 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.3812, allocations: 0.7371 MB / 462.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003596/0.3816, allocations: 85.83 kB / 462.3 MB, free: 1.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.3817, allocations: 31.42 kB / 462.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3817, allocations: 0 / 462.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of Templates: time 0.05171/0.4334, allocations: 31.14 MB / 493.5 MB, free: 2.082 MB / 398.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.512707929126918]