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.0009424/0.0009424, 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.0009289/0.0009289, allocations: 163.9 kB / 25.7 MB, free: 8.453 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.8008/0.8008, allocations: 158.6 MB / 187.6 MB, free: 2.805 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.232e-06/1.232e-06, allocations: 0 / 251.5 MB, free: 7.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.757e-05, allocations: 6.25 kB / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2436/0.2436, allocations: 145 MB / 396.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008196/0.2444, allocations: 0.6097 MB / 397.1 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.2445, allocations: 0 / 397.1 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.2448, allocations: 57.97 kB / 397.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.2451, allocations: 160.3 kB / 397.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.2475, allocations: 1.125 MB / 398.5 MB, free: 9.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.2478, allocations: 329.6 kB / 398.8 MB, free: 8.996 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.2478, allocations: 11.25 kB / 398.8 MB, free: 8.996 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.2481, allocations: 197.7 kB / 399 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.2483, allocations: 108.4 kB / 399.1 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.2483, allocations: 13.47 kB / 399.1 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.2498, allocations: 1.366 MB / 400.5 MB, free: 8.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.2499, allocations: 70.61 kB / 400.6 MB, free: 8.656 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.2499, allocations: 76.12 kB / 400.6 MB, free: 8.641 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.251, allocations: 1.059 MB / 401.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.251, allocations: 0 / 401.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.251, allocations: 2.562 kB / 401.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.251, allocations: 0 / 401.7 MB, free: 8.266 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.0008987/0.2519, allocations: 0.568 MB / 402.3 MB, free: 7.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.252, allocations: 12.33 kB / 402.3 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.2521, allocations: 47.02 kB / 402.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.2522, allocations: 137.2 kB / 402.5 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2522, allocations: 9.953 kB / 402.5 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.2523, allocations: 28.25 kB / 402.5 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.2525, allocations: 307.6 kB / 402.8 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2525, allocations: 3 kB / 402.8 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.2525, allocations: 3.062 kB / 402.8 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.2526, allocations: 8.281 kB / 402.8 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.2527, allocations: 105.9 kB / 402.9 MB, free: 7.387 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.0007483/0.2535, allocations: 0.4996 MB / 403.4 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.2537, allocations: 142.8 kB / 403.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.618e-05/0.2538, allocations: 66.16 kB / 403.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.2539, allocations: 55.16 kB / 403.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.2539, allocations: 34.12 kB / 403.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.2539, allocations: 2.781 kB / 403.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006943/0.2546, allocations: 377.8 kB / 404.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.2547, allocations: 86.3 kB / 404.2 MB, free: 6.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.468e-05/0.2547, allocations: 124.4 kB / 404.3 MB, free: 6.562 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2547, allocations: 35.61 kB / 404.3 MB, free: 6.531 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.2547, allocations: 106.5 kB / 404.4 MB, free: 6.426 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.2548, allocations: 136.1 kB / 404.6 MB, free: 6.328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.2549, allocations: 64.55 kB / 404.6 MB, free: 6.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.331e-05/0.2549, allocations: 336 kB / 404.9 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.255, allocations: 50.66 kB / 405 MB, free: 5.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.2551, allocations: 122.8 kB / 405.1 MB, free: 5.895 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.2553, allocations: 208.2 kB / 405.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2553, allocations: 3.375 kB / 405.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002375/0.2555, allocations: 214 kB / 405.5 MB, free: 5.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2555, allocations: 9.312 kB / 405.5 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2555, allocations: 5.969 kB / 405.5 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2555, allocations: 6.281 kB / 405.6 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.2557, allocations: 76.98 kB / 405.6 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2558, allocations: 13.06 kB / 405.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.2559, allocations: 19.11 kB / 405.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.2559, allocations: 11.97 kB / 405.7 MB, free: 5.66 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.54e-05/0.2559, allocations: 131.3 kB / 405.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.256, allocations: 25.78 kB / 405.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.2561, allocations: 128.6 kB / 406 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2561, allocations: 3.188 kB / 406 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2561, allocations: 5.594 kB / 406 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2562, allocations: 7.922 kB / 406 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/0.2567, allocations: 439.7 kB / 406.4 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2567, allocations: 0 / 406.4 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.2568, allocations: 81.86 kB / 406.5 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2568, allocations: 3.031 kB / 406.5 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.2568, allocations: 5.281 kB / 406.5 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2568, allocations: 11.61 kB / 406.5 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.2568, allocations: 2.812 kB / 406.5 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.2572, allocations: 476 kB / 407 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.2572, allocations: 43.44 kB / 407 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.2572, allocations: 5.719 kB / 407 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.2574, allocations: 15.62 kB / 407 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.2574, allocations: 27.05 kB / 407.1 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.2574, allocations: 16.02 kB / 407.1 MB, free: 4.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.591e-05/0.2574, allocations: 22.27 kB / 407.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2574, allocations: 0 / 407.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003484/0.2578, allocations: 134.3 kB / 407.2 MB, free: 4.762 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.000295/0.2581, allocations: 226.3 kB / 407.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.2583, allocations: 201.5 kB / 407.6 MB, free: 4.578 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2583, allocations: 2.812 kB / 407.6 MB, free: 4.578 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.2584, allocations: 118 kB / 407.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.2587, allocations: 101.3 kB / 407.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007968/0.2595, allocations: 499.7 kB / 408.3 MB, free: 4.172 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.625e-05/0.2596, allocations: 86.67 kB / 408.4 MB, free: 4.094 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.2598, allocations: 59.81 kB / 408.5 MB, free: 4.055 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.26, allocations: 129.1 kB / 408.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.26, allocations: 0 / 408.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of Templates: time 0.007255/0.2672, allocations: 7.236 MB / 415.9 MB, free: 228 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.8667540759779513]