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.0009235/0.0009235, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009097/0.0009097, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.8573/0.8573, allocations: 158.6 MB / 187.5 MB, free: 2.949 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 2.074e-06/2.074e-06, allocations: 0 / 251.1 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.014e-05, allocations: 6.25 kB / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2575/0.2575, allocations: 145.4 MB / 396.5 MB, free: 10 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006272/0.2581, allocations: 0.6039 MB / 397.1 MB, free: 9.949 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.2582, allocations: 0 / 397.1 MB, free: 9.949 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.2585, allocations: 58.61 kB / 397.1 MB, free: 9.934 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.2588, allocations: 162.6 kB / 397.3 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.2608, allocations: 1.113 MB / 398.4 MB, free: 9.777 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.2612, allocations: 338.7 kB / 398.7 MB, free: 9.711 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.2612, allocations: 10.53 kB / 398.7 MB, free: 9.711 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.2614, allocations: 195.8 kB / 398.9 MB, free: 9.688 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.2616, allocations: 113.2 kB / 399 MB, free: 9.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.2617, allocations: 14.62 kB / 399 MB, free: 9.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.2632, allocations: 1.364 MB / 400.4 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.408e-05/0.2633, allocations: 70.8 kB / 400.5 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/0.2634, allocations: 77.25 kB / 400.6 MB, free: 9.312 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.2646, allocations: 1.063 MB / 401.6 MB, free: 8.934 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2646, allocations: 4 kB / 401.6 MB, free: 8.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2646, allocations: 0 / 401.6 MB, free: 8.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2646, allocations: 0 / 401.6 MB, free: 8.93 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.001023/0.2656, allocations: 0.6918 MB / 402.3 MB, free: 8.371 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2657, allocations: 15.58 kB / 402.3 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.2658, allocations: 41.53 kB / 402.4 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.266, allocations: 155.3 kB / 402.5 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.266, allocations: 16.52 kB / 402.5 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.266, allocations: 21.94 kB / 402.6 MB, free: 8.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.2663, allocations: 320.9 kB / 402.9 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2664, allocations: 0 / 402.9 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.2664, allocations: 9.812 kB / 402.9 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.2664, allocations: 9.812 kB / 402.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.2666, allocations: 150.8 kB / 403 MB, free: 7.898 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.0008065/0.2674, allocations: 0.6678 MB / 403.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.2677, allocations: 183.9 kB / 403.9 MB, free: 7.297 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2678, allocations: 102.1 kB / 404 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.268, allocations: 51.48 kB / 404 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.268, allocations: 44.05 kB / 404.1 MB, free: 7.199 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.023e-06/0.268, allocations: 0 / 404.1 MB, free: 7.199 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009669/0.269, allocations: 497.8 kB / 404.6 MB, free: 7.066 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.269, allocations: 87.36 kB / 404.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.2691, allocations: 179.3 kB / 404.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.2691, allocations: 35.2 kB / 404.9 MB, free: 6.762 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.2691, allocations: 153.9 kB / 405 MB, free: 6.609 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.2692, allocations: 132.2 kB / 405.1 MB, free: 6.516 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.2692, allocations: 73 kB / 405.2 MB, free: 6.484 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.2693, allocations: 0.504 MB / 405.7 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.2694, allocations: 75.58 kB / 405.8 MB, free: 5.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.2695, allocations: 180 kB / 406 MB, free: 5.848 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.2698, allocations: 277.2 kB / 406.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2698, allocations: 3.938 kB / 406.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003613/0.2702, allocations: 314.5 kB / 406.5 MB, free: 5.625 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2702, allocations: 5.438 kB / 406.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2702, allocations: 2.625 kB / 406.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2702, allocations: 2.969 kB / 406.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.2704, allocations: 81.95 kB / 406.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.2704, allocations: 14.89 kB / 406.7 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2706, allocations: 20.27 kB / 406.7 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.2706, allocations: 18.73 kB / 406.7 MB, free: 5.586 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 7.243e-05/0.2706, allocations: 172.4 kB / 406.9 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.2707, allocations: 35.59 kB / 406.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.2709, allocations: 158.1 kB / 407 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2709, allocations: 5.656 kB / 407.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2709, allocations: 0 / 407.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2709, allocations: 0 / 407.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006536/0.2716, allocations: 0.6306 MB / 407.7 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2716, allocations: 3.125 kB / 407.7 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.2718, allocations: 73.39 kB / 407.8 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2718, allocations: 2.906 kB / 407.8 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.2718, allocations: 6.375 kB / 407.8 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.2718, allocations: 9.484 kB / 407.8 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2718, allocations: 0 / 407.8 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.2723, allocations: 0.6687 MB / 408.4 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.2723, allocations: 40.95 kB / 408.5 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.2724, allocations: 6.344 kB / 408.5 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2725, allocations: 19.14 kB / 408.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.2725, allocations: 32.05 kB / 408.5 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.2726, allocations: 18.45 kB / 408.6 MB, free: 4.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.513e-05/0.2726, allocations: 136.7 kB / 408.7 MB, free: 4.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2726, allocations: 0 / 408.7 MB, free: 4.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003956/0.273, allocations: 143.2 kB / 408.8 MB, free: 4.266 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.0003345/0.2733, allocations: 242.7 kB / 409.1 MB, free: 4.121 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003297/0.2737, allocations: 255.5 kB / 409.3 MB, free: 4.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2737, allocations: 0 / 409.3 MB, free: 4.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.2738, allocations: 142.4 kB / 409.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.2742, allocations: 115.4 kB / 409.6 MB, free: 3.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009863/0.2752, allocations: 0.5223 MB / 410.1 MB, free: 3.605 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.511e-05/0.2753, allocations: 88.69 kB / 410.2 MB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.2755, allocations: 70.41 kB / 410.3 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.2756, allocations: 35.98 kB / 410.3 MB, free: 3.473 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2756, allocations: 0 / 410.3 MB, free: 3.473 MB / 330.7 MB Notification: Performance of Templates: time 0.006814/0.2824, allocations: 6.241 MB / 416.5 MB, free: 256 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 -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.984519707970321]