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.001396/0.001396, allocations: 107.6 kB / 21.18 MB, free: 460 kB / 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.001501/0.001501, allocations: 218.7 kB / 24.48 MB, free: 3.805 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.471/1.471, allocations: 207.7 MB / 235.3 MB, free: 9.816 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.001869/0.001869, allocations: 51.92 kB / 347.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2415, allocations: 49.17 MB / 396.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03026/0.2718, allocations: 23.98 MB / 420.8 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.2749, allocations: 1.993 MB / 422.8 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.275, allocations: 12.97 kB / 422.8 MB, free: 7.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.2753, allocations: 60.31 kB / 422.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.2757, allocations: 147.7 kB / 423 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01862/0.2944, allocations: 6.171 MB / 429.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005295/0.2949, allocations: 314.9 kB / 429.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.2949, allocations: 9.312 kB / 429.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.2952, allocations: 139.6 kB / 429.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.2954, allocations: 119.5 kB / 429.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.2955, allocations: 16 kB / 429.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01778/0.3132, allocations: 8.839 MB / 438.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.3134, allocations: 75.84 kB / 438.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.3135, allocations: 79.72 kB / 438.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.3242, allocations: 4.638 MB / 443.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3242, allocations: 0 / 443.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3242, allocations: 0 / 443.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3242, allocations: 0 / 443.4 MB, free: 4.52 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.003135/0.3273, allocations: 1.055 MB / 444.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3274, allocations: 11.98 kB / 444.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.3276, allocations: 24.59 kB / 444.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3279, allocations: 161 kB / 444.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.3279, allocations: 12.33 kB / 444.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.3279, allocations: 20 kB / 444.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008288/0.3288, allocations: 380.3 kB / 445.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.3288, allocations: 4 kB / 445.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.3288, allocations: 15.94 kB / 445.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.3288, allocations: 8 kB / 445.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008363/0.3297, allocations: 315.6 kB / 445.4 MB, free: 2.434 MB / 350.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.00146/0.3311, allocations: 0.6474 MB / 446.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.3319, allocations: 241.1 kB / 446.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.3322, allocations: 129.6 kB / 446.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/0.3439, allocations: 2.702 MB / 449.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3439, allocations: 30.56 kB / 449.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 3.737e-06/0.3439, allocations: 3.984 kB / 449.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002869/0.3468, allocations: 0.6959 MB / 449.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.3468, allocations: 88.98 kB / 449.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.347, allocations: 129.8 kB / 450.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.347, allocations: 33.7 kB / 450.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.3471, allocations: 112.9 kB / 450.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.3472, allocations: 130.8 kB / 450.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.3473, allocations: 69.64 kB / 450.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3475, allocations: 326.8 kB / 450.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.3479, allocations: 139.9 kB / 450.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.3484, allocations: 203.6 kB / 451.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.3494, allocations: 364 kB / 451.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3494, allocations: 0 / 451.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001227/0.3507, allocations: 425.2 kB / 451.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3507, allocations: 4.219 kB / 451.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3507, allocations: 8 kB / 451.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3507, allocations: 4 kB / 451.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.3512, allocations: 91.81 kB / 451.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3512, allocations: 4 kB / 451.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.3515, allocations: 31.84 kB / 452 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.3515, allocations: 16 kB / 452 MB, free: 11.65 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.000156/0.3517, allocations: 141.8 kB / 452.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.3518, allocations: 23.91 kB / 452.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.3523, allocations: 186.4 kB / 452.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3523, allocations: 4 kB / 452.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.3523, allocations: 3.938 kB / 452.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3523, allocations: 4 kB / 452.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.3541, allocations: 0.6736 MB / 453 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3541, allocations: 3.938 kB / 453 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.3545, allocations: 79.89 kB / 453.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3545, allocations: 0 / 453.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.3546, allocations: 15.98 kB / 453.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.3546, allocations: 11.88 kB / 453.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3546, allocations: 0 / 453.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.3562, allocations: 0.7031 MB / 453.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.3563, allocations: 47.8 kB / 453.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.3564, allocations: 16.06 kB / 453.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.3567, allocations: 23.97 kB / 453.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.3568, allocations: 23.97 kB / 453.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.3568, allocations: 23.92 kB / 454 MB, free: 9.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.3569, allocations: 95.64 kB / 454.1 MB, free: 9.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3569, allocations: 4 kB / 454.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002452/0.3593, allocations: 0.9394 MB / 455 MB, free: 8.543 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.003634/0.363, allocations: 1.271 MB / 456.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.364, allocations: 331.5 kB / 456.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.364, allocations: 0 / 456.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004949/0.3645, allocations: 172.5 kB / 456.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.3652, allocations: 95.84 kB / 456.9 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.3666, allocations: 0.6135 MB / 457.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.3668, allocations: 112.7 kB / 457.6 MB, free: 5.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003598/0.3671, allocations: 89.88 kB / 457.7 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.3673, allocations: 39.42 kB / 457.7 MB, free: 5.758 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3673, allocations: 0 / 457.7 MB, free: 5.758 MB / 366.1 MB Notification: Performance of Templates: time 0.04623/0.4135, allocations: 31.27 MB / 489 MB, free: 6.426 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.439070325344801]