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.0008634/0.0008634, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.0008983/0.0008983, allocations: 156.9 kB / 25.45 MB, free: 9.352 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.8254/0.8254, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.483e-06/1.483e-06, allocations: 0 / 299.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.636e-05, allocations: 2.281 kB / 299.7 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2412/0.2413, allocations: 131.4 MB / 431.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006267/0.2419, allocations: 0.5501 MB / 431.6 MB, free: 7.664 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.242, allocations: 7.938 kB / 431.6 MB, free: 7.656 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.2423, allocations: 61.77 kB / 431.7 MB, free: 7.598 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.2425, allocations: 155.5 kB / 431.9 MB, free: 7.453 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.2446, allocations: 1.121 MB / 433 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.2449, allocations: 326.7 kB / 433.3 MB, free: 6.016 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.2449, allocations: 9.641 kB / 433.3 MB, free: 6.008 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.2452, allocations: 207.3 kB / 433.5 MB, free: 5.805 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.2454, allocations: 111.7 kB / 433.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.2454, allocations: 12 kB / 433.6 MB, free: 5.684 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.247, allocations: 1.36 MB / 435 MB, free: 4.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.2471, allocations: 75.78 kB / 435.1 MB, free: 4.246 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.254e-05/0.2472, allocations: 73.02 kB / 435.1 MB, free: 4.176 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.2485, allocations: 1.107 MB / 436.2 MB, free: 3.066 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2485, allocations: 4 kB / 436.2 MB, free: 3.062 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2485, allocations: 0 / 436.2 MB, free: 3.062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2485, allocations: 0 / 436.2 MB, free: 3.062 MB / 362.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.001126/0.2496, allocations: 0.6063 MB / 436.8 MB, free: 2.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2497, allocations: 15.98 kB / 436.9 MB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2498, allocations: 16.84 kB / 436.9 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.25, allocations: 157.5 kB / 437 MB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.25, allocations: 12.89 kB / 437 MB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.25, allocations: 19.94 kB / 437.1 MB, free: 2.184 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.2504, allocations: 373.5 kB / 437.4 MB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2504, allocations: 3.938 kB / 437.4 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.2504, allocations: 8 kB / 437.4 MB, free: 1.773 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2504, allocations: 4 kB / 437.4 MB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.2508, allocations: 259.8 kB / 437.7 MB, free: 1.516 MB / 362.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.0008499/0.2517, allocations: 0.6203 MB / 438.3 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.252, allocations: 205.2 kB / 438.5 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.2522, allocations: 129.6 kB / 438.6 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.2523, allocations: 51.95 kB / 438.7 MB, free: 464 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.2523, allocations: 34.56 kB / 438.7 MB, free: 420 kB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.614e-06/0.2523, allocations: 3.984 kB / 438.7 MB, free: 416 kB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00155/0.2539, allocations: 0.669 MB / 439.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.2539, allocations: 85.05 kB / 439.5 MB, free: 15.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.254, allocations: 131.2 kB / 439.6 MB, free: 15.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.254, allocations: 33.7 kB / 439.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.2541, allocations: 108.9 kB / 439.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.254e-05/0.2541, allocations: 130.9 kB / 439.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.2542, allocations: 69.64 kB / 440 MB, free: 15.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.2543, allocations: 326.8 kB / 440.3 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.2545, allocations: 132.3 kB / 440.4 MB, free: 14.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.2547, allocations: 203.6 kB / 440.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.2551, allocations: 372 kB / 441 MB, free: 14.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2551, allocations: 3.938 kB / 441 MB, free: 14.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005255/0.2557, allocations: 405.2 kB / 441.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2557, allocations: 4 kB / 441.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2557, allocations: 4 kB / 441.4 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2557, allocations: 4 kB / 441.4 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2559, allocations: 88.09 kB / 441.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.2559, allocations: 11.98 kB / 441.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.2561, allocations: 27.88 kB / 441.5 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.2561, allocations: 15.98 kB / 441.5 MB, free: 13.51 MB / 378.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 0.0001006/0.2562, allocations: 137.8 kB / 441.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.2562, allocations: 23.84 kB / 441.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.2565, allocations: 176.3 kB / 441.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2565, allocations: 4.625 kB / 441.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2565, allocations: 4 kB / 441.9 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2565, allocations: 3.984 kB / 441.9 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008569/0.2573, allocations: 0.6473 MB / 442.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2573, allocations: 5.375 kB / 442.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.2575, allocations: 83.98 kB / 442.6 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2575, allocations: 4 kB / 442.6 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.2576, allocations: 11.98 kB / 442.6 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2576, allocations: 4 kB / 442.6 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.2576, allocations: 0 / 442.6 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.2583, allocations: 0.7154 MB / 443.3 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.2584, allocations: 31.88 kB / 443.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.2584, allocations: 15.98 kB / 443.4 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.2586, allocations: 19.98 kB / 443.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.2586, allocations: 27.95 kB / 443.4 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.2586, allocations: 22.17 kB / 443.4 MB, free: 11.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.916e-05/0.2587, allocations: 103.2 kB / 443.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2587, allocations: 0 / 443.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.2591, allocations: 135.7 kB / 443.7 MB, free: 11.25 MB / 378.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.0003369/0.2594, allocations: 256.5 kB / 443.9 MB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000483/0.2599, allocations: 327.4 kB / 444.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2599, allocations: 0 / 444.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.2601, allocations: 183.5 kB / 444.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.2605, allocations: 95.06 kB / 444.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007976/0.2613, allocations: 0.5937 MB / 445.1 MB, free: 9.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.043e-05/0.2614, allocations: 116.9 kB / 445.2 MB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.2615, allocations: 48.47 kB / 445.3 MB, free: 9.586 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2615, allocations: 0 / 445.3 MB, free: 9.586 MB / 378.7 MB Notification: Performance of Templates: time 0.004696/0.2662, allocations: 4.581 MB / 449.9 MB, free: 5.004 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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: 4.9951458759605885]