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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 192.9 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 51.92 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2323, allocations: 52.19 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03365/0.266, allocations: 23.85 MB / 446.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.2689, allocations: 1.994 MB / 448.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.269, allocations: 0 / 448.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.2693, allocations: 59.66 kB / 449 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.2697, allocations: 155.1 kB / 449.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01557/0.2853, allocations: 6.494 MB / 455.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.2857, allocations: 314.9 kB / 455.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.2857, allocations: 9.297 kB / 455.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.286, allocations: 139.5 kB / 456.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.2862, allocations: 123.6 kB / 456.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.449e-05/0.2862, allocations: 12 kB / 456.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01576/0.302, allocations: 8.952 MB / 465.1 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3021, allocations: 67.78 kB / 465.2 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.3022, allocations: 83.72 kB / 465.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008103/0.3103, allocations: 4.65 MB / 469.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3103, allocations: 0 / 469.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3103, allocations: 0 / 469.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3104, allocations: 0 / 469.9 MB, free: 15.47 MB / 382.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.002817/0.3132, allocations: 1.078 MB / 471 MB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.3132, allocations: 11.97 kB / 471 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.3134, allocations: 24.59 kB / 471.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3136, allocations: 161 kB / 471.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.3136, allocations: 12.33 kB / 471.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.3137, allocations: 16 kB / 471.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008005/0.3145, allocations: 392.2 kB / 471.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3145, allocations: 0 / 471.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.3145, allocations: 8 kB / 471.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.3146, allocations: 7.938 kB / 471.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000858/0.3154, allocations: 319.6 kB / 472 MB, free: 13.36 MB / 382.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.001416/0.3168, allocations: 0.6397 MB / 472.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007436/0.3176, allocations: 241.1 kB / 472.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.3179, allocations: 125.6 kB / 472.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/0.3295, allocations: 2.706 MB / 475.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.3295, allocations: 42.5 kB / 475.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.3295, allocations: 3.938 kB / 475.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002833/0.3324, allocations: 0.6875 MB / 476.4 MB, free: 8.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.3324, allocations: 81.11 kB / 476.5 MB, free: 8.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.3325, allocations: 133.9 kB / 476.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.3326, allocations: 33.7 kB / 476.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.3327, allocations: 112.9 kB / 476.7 MB, free: 8.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.3328, allocations: 130.8 kB / 476.9 MB, free: 8.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3329, allocations: 73.67 kB / 476.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3331, allocations: 322.8 kB / 477.3 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.3335, allocations: 139.9 kB / 477.4 MB, free: 7.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005178/0.334, allocations: 211.5 kB / 477.6 MB, free: 7.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009819/0.335, allocations: 366.7 kB / 478 MB, free: 7.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.335, allocations: 4 kB / 478 MB, free: 7.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001232/0.3362, allocations: 413.3 kB / 478.4 MB, free: 6.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3362, allocations: 14.84 kB / 478.4 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3362, allocations: 0 / 478.4 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3362, allocations: 4 kB / 478.4 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.3367, allocations: 87.88 kB / 478.5 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3367, allocations: 7.938 kB / 478.5 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.337, allocations: 27.88 kB / 478.5 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.3371, allocations: 19.98 kB / 478.5 MB, free: 6.605 MB / 382.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.0001555/0.3372, allocations: 149.7 kB / 478.7 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.3374, allocations: 15.91 kB / 478.7 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.3379, allocations: 178.5 kB / 478.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3379, allocations: 8 kB / 478.9 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.3379, allocations: 15.81 kB / 478.9 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3379, allocations: 3.938 kB / 478.9 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.3397, allocations: 0.6656 MB / 479.6 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3397, allocations: 0 / 479.6 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.3401, allocations: 83.88 kB / 479.6 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3401, allocations: 4 kB / 479.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.3402, allocations: 15.98 kB / 479.7 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3402, allocations: 0 / 479.7 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/0.3402, allocations: 7.938 kB / 479.7 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.3418, allocations: 0.6997 MB / 480.4 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.3419, allocations: 47.86 kB / 480.4 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.342, allocations: 8 kB / 480.4 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.3423, allocations: 19.98 kB / 480.4 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.3424, allocations: 27.89 kB / 480.5 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.3424, allocations: 23.92 kB / 480.5 MB, free: 4.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.558e-05/0.3425, allocations: 99.64 kB / 480.6 MB, free: 4.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3425, allocations: 0 / 480.6 MB, free: 4.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002582/0.345, allocations: 0.9511 MB / 481.5 MB, free: 3.484 MB / 382.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.0037/0.3487, allocations: 1.249 MB / 482.8 MB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.3498, allocations: 339.3 kB / 483.1 MB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3498, allocations: 0 / 483.1 MB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004866/0.3503, allocations: 172.5 kB / 483.3 MB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007384/0.351, allocations: 91.83 kB / 483.4 MB, free: 1.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.3524, allocations: 0.6096 MB / 484 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.3525, allocations: 120.7 kB / 484.1 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003495/0.3529, allocations: 89.83 kB / 484.2 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.353, allocations: 39.42 kB / 484.2 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.353, allocations: 0 / 484.2 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of Templates: time 0.04372/0.3967, allocations: 29.84 MB / 0.502 GB, free: 2.965 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.18308868072927]