Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.0009867/0.0009867, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.000998/0.000998, allocations: 167.1 kB / 25.7 MB, free: 8.445 MB / 18.57 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 0.8632/0.8632, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.598e-05, allocations: 2.312 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2725/0.2725, allocations: 145.1 MB / 396.6 MB, free: 9.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007335/0.2732, allocations: 0.6077 MB / 397.2 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.2733, allocations: 0 / 397.2 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.2736, allocations: 56.19 kB / 397.3 MB, free: 9.113 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.2739, allocations: 167.2 kB / 397.5 MB, free: 9.098 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.2761, allocations: 1.082 MB / 398.5 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.2764, allocations: 336.8 kB / 398.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.2765, allocations: 7.703 kB / 398.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.2767, allocations: 199 kB / 399.1 MB, free: 8.898 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.2769, allocations: 109.7 kB / 399.2 MB, free: 8.891 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.2769, allocations: 11.16 kB / 399.2 MB, free: 8.891 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.2786, allocations: 1.429 MB / 400.6 MB, free: 8.605 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.976e-05/0.2786, allocations: 71.17 kB / 400.7 MB, free: 8.586 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.2787, allocations: 77.08 kB / 400.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.2798, allocations: 1.064 MB / 401.8 MB, free: 8.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2798, allocations: 0 / 401.8 MB, free: 8.188 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2798, allocations: 0 / 401.8 MB, free: 8.188 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2798, allocations: 3.312 kB / 401.8 MB, free: 8.188 MB / 330.7 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.0008768/0.2807, allocations: 0.5652 MB / 402.4 MB, free: 7.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2807, allocations: 11.64 kB / 402.4 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.2809, allocations: 46.19 kB / 402.5 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.281, allocations: 141.4 kB / 402.6 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.281, allocations: 9.672 kB / 402.6 MB, free: 7.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.281, allocations: 24.56 kB / 402.6 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.2813, allocations: 301.5 kB / 402.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2813, allocations: 2.531 kB / 402.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.2813, allocations: 10.73 kB / 402.9 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.2813, allocations: 12.44 kB / 402.9 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2815, allocations: 103.4 kB / 403 MB, free: 7.309 MB / 330.7 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.0006201/0.2821, allocations: 0.4976 MB / 403.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.2823, allocations: 136.8 kB / 403.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.2824, allocations: 71.41 kB / 403.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.2825, allocations: 50.23 kB / 403.8 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.2825, allocations: 36.78 kB / 403.8 MB, free: 6.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.2825, allocations: 0 / 403.8 MB, free: 6.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006569/0.2831, allocations: 371.6 kB / 404.2 MB, free: 6.707 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.718e-05/0.2832, allocations: 80.2 kB / 404.3 MB, free: 6.613 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.514e-05/0.2832, allocations: 132.4 kB / 404.4 MB, free: 6.492 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2832, allocations: 38.64 kB / 404.4 MB, free: 6.457 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.2832, allocations: 103.9 kB / 404.5 MB, free: 6.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.2833, allocations: 131.8 kB / 404.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.2834, allocations: 66.52 kB / 404.7 MB, free: 6.234 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.846e-05/0.2834, allocations: 328.3 kB / 405.1 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.393e-05/0.2835, allocations: 59.11 kB / 405.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.671e-05/0.2835, allocations: 119.7 kB / 405.2 MB, free: 5.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.2837, allocations: 212.2 kB / 405.4 MB, free: 5.703 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2837, allocations: 0 / 405.4 MB, free: 5.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002158/0.2839, allocations: 224.1 kB / 405.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2839, allocations: 5.531 kB / 405.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2839, allocations: 7.25 kB / 405.7 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2839, allocations: 2.312 kB / 405.7 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.2842, allocations: 83.73 kB / 405.8 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2842, allocations: 12.5 kB / 405.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.908e-05/0.2843, allocations: 23.08 kB / 405.8 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.2843, allocations: 15.27 kB / 405.8 MB, free: 5.582 MB / 330.7 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 6.65e-05/0.2843, allocations: 128.4 kB / 405.9 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.2844, allocations: 20.61 kB / 405.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.2845, allocations: 139.9 kB / 406.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2845, allocations: 2.906 kB / 406.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2845, allocations: 2.844 kB / 406.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2845, allocations: 3.938 kB / 406.1 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.285, allocations: 438.5 kB / 406.5 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.285, allocations: 0 / 406.5 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.2852, allocations: 85.38 kB / 406.6 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2852, allocations: 3.125 kB / 406.6 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.2853, allocations: 12.28 kB / 406.6 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2853, allocations: 6.312 kB / 406.6 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2853, allocations: 4 kB / 406.6 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.2856, allocations: 473.4 kB / 407.1 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.2856, allocations: 39.66 kB / 407.1 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.2856, allocations: 11.88 kB / 407.1 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.2858, allocations: 9.344 kB / 407.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.2858, allocations: 26.58 kB / 407.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.2858, allocations: 16.77 kB / 407.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.429e-05/0.2858, allocations: 17.8 kB / 407.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2858, allocations: 0 / 407.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003578/0.2862, allocations: 144.1 kB / 407.4 MB, free: 4.684 MB / 330.7 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 (38): * Single equations (assignments): 38 * 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.0002845/0.2865, allocations: 228.3 kB / 407.6 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2867, allocations: 200.5 kB / 407.8 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.2867, allocations: 2.469 kB / 407.8 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.2868, allocations: 113.6 kB / 407.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.2871, allocations: 104.5 kB / 408 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/0.288, allocations: 0.4906 MB / 408.5 MB, free: 4.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5e-05/0.2881, allocations: 86.73 kB / 408.6 MB, free: 4.016 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.2883, allocations: 55.73 kB / 408.6 MB, free: 3.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.2885, allocations: 133 kB / 408.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2885, allocations: 0 / 408.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of Templates: time 0.00753/0.296, allocations: 7.239 MB / 416 MB, free: 148 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9535584482364357]