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.001828/0.001828, allocations: 83.83 kB / 21.99 MB, free: 5.18 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.002183/0.002183, allocations: 161.4 kB / 25.25 MB, free: 3.023 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.35/1.35, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.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.002867/0.002867, allocations: 56.44 kB / 299.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2504, allocations: 49.15 MB / 348.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03408/0.2845, allocations: 23.98 MB / 372.5 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.2874, allocations: 2.006 MB / 374.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.2875, allocations: 0 / 374.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.2878, allocations: 59.66 kB / 374.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.2882, allocations: 147.2 kB / 374.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01536/0.3036, allocations: 6.171 MB / 380.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.3041, allocations: 318.8 kB / 381.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.15e-05/0.3041, allocations: 9.312 kB / 381.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.3044, allocations: 143.5 kB / 381.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.3046, allocations: 119.6 kB / 381.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.3047, allocations: 12 kB / 381.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01746/0.3221, allocations: 8.839 MB / 390.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.3223, allocations: 75.78 kB / 390.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.3225, allocations: 83.64 kB / 390.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.3327, allocations: 4.63 MB / 395.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3327, allocations: 0 / 395.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3327, allocations: 0 / 395.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3327, allocations: 0 / 395.1 MB, free: 0.6602 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.003306/0.336, allocations: 1.059 MB / 396.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.3361, allocations: 11.98 kB / 396.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.3362, allocations: 24.59 kB / 396.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3366, allocations: 168.9 kB / 396.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3366, allocations: 16.33 kB / 396.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.3366, allocations: 16 kB / 396.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000822/0.3374, allocations: 380.3 kB / 396.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.3375, allocations: 4 kB / 396.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.3375, allocations: 8 kB / 396.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.3375, allocations: 8 kB / 396.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008775/0.3384, allocations: 315.6 kB / 397.1 MB, free: 14.57 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.001438/0.3398, allocations: 0.6476 MB / 397.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.3406, allocations: 237.2 kB / 398 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.3409, allocations: 133.6 kB / 398.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.3528, allocations: 2.71 MB / 400.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.3528, allocations: 30.56 kB / 400.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.3528, allocations: 0 / 400.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002966/0.3558, allocations: 0.6929 MB / 401.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.3559, allocations: 81.11 kB / 401.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.356, allocations: 129.8 kB / 401.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.356, allocations: 33.7 kB / 401.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.3561, allocations: 112.9 kB / 401.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.3562, allocations: 130.9 kB / 402 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3564, allocations: 69.64 kB / 402.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3565, allocations: 330.8 kB / 402.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.3569, allocations: 135.9 kB / 402.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/0.3575, allocations: 203.6 kB / 402.7 MB, free: 8.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.3585, allocations: 367.7 kB / 403.1 MB, free: 8.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3585, allocations: 4 kB / 403.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001234/0.3597, allocations: 417.3 kB / 403.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3597, allocations: 8 kB / 403.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3597, allocations: 4 kB / 403.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3597, allocations: 0 / 403.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.3602, allocations: 95.81 kB / 403.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.3602, allocations: 4 kB / 403.6 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.3605, allocations: 31.84 kB / 403.6 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.3606, allocations: 16 kB / 403.6 MB, free: 7.797 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.0001631/0.3607, allocations: 145.8 kB / 403.8 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.3609, allocations: 19.91 kB / 403.8 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.3614, allocations: 194.5 kB / 404 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3614, allocations: 11.94 kB / 404 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.3614, allocations: 7.938 kB / 404 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3614, allocations: 0 / 404 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.3632, allocations: 0.6695 MB / 404.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3632, allocations: 3.984 kB / 404.7 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.3636, allocations: 79.89 kB / 404.8 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3636, allocations: 0 / 404.8 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.3637, allocations: 15.98 kB / 404.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.3637, allocations: 7.938 kB / 404.8 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3637, allocations: 0 / 404.8 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.3653, allocations: 0.7108 MB / 405.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3655, allocations: 47.92 kB / 405.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.3655, allocations: 8 kB / 405.6 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.3659, allocations: 23.97 kB / 405.6 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.3659, allocations: 23.97 kB / 405.6 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.366, allocations: 19.92 kB / 405.6 MB, free: 5.727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.668e-05/0.366, allocations: 95.27 kB / 405.7 MB, free: 5.633 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.366, allocations: 4 kB / 405.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00274/0.3688, allocations: 0.9394 MB / 406.7 MB, free: 4.688 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.003883/0.3727, allocations: 1.274 MB / 407.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.3738, allocations: 331.5 kB / 408.3 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3738, allocations: 0 / 408.3 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.3743, allocations: 172.5 kB / 408.4 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.0007771/0.375, allocations: 95.78 kB / 408.5 MB, free: 2.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.3765, allocations: 0.6134 MB / 409.1 MB, free: 2.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.3766, allocations: 112.9 kB / 409.2 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003636/0.377, allocations: 93.81 kB / 409.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.3772, allocations: 40.48 kB / 409.4 MB, free: 1.891 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3772, allocations: 0 / 409.4 MB, free: 1.891 MB / 366.1 MB Notification: Performance of Templates: time 0.04806/0.4252, allocations: 31.01 MB / 440.4 MB, free: 2.82 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 -s ida -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.2363221399718896]