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.001/0.001, allocations: 75.75 kB / 21.97 MB, free: 2.598 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.001069/0.001069, allocations: 167.7 kB / 25.32 MB, free: 9.059 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.8679/0.8679, allocations: 158.6 MB / 187.2 MB, free: 2.473 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.734e-06/1.734e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.645e-05, allocations: 6.312 kB / 251 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2384/0.2384, allocations: 145.7 MB / 396.7 MB, free: 6.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000749/0.2392, allocations: 0.5963 MB / 397.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.2392, allocations: 3.938 kB / 397.3 MB, free: 5.641 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.2396, allocations: 63.66 kB / 397.3 MB, free: 5.578 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.2399, allocations: 155.8 kB / 397.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.2425, allocations: 1.121 MB / 398.6 MB, free: 4.316 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.2429, allocations: 334.7 kB / 398.9 MB, free: 3.988 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.2429, allocations: 5.641 kB / 399 MB, free: 3.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.2432, allocations: 203.4 kB / 399.2 MB, free: 3.785 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.2434, allocations: 115.7 kB / 399.3 MB, free: 3.672 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.2434, allocations: 12 kB / 399.3 MB, free: 3.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.2455, allocations: 1.364 MB / 400.6 MB, free: 2.293 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2456, allocations: 71.84 kB / 400.7 MB, free: 2.223 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.716e-05/0.2457, allocations: 75.83 kB / 400.8 MB, free: 2.148 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.247, allocations: 1.063 MB / 401.8 MB, free: 1.082 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.247, allocations: 4 kB / 401.9 MB, free: 1.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.247, allocations: 0 / 401.9 MB, free: 1.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.247, allocations: 0 / 401.9 MB, free: 1.078 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.001113/0.2481, allocations: 0.6906 MB / 402.5 MB, free: 360 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2482, allocations: 11.98 kB / 402.6 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.2483, allocations: 44.73 kB / 402.6 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.2485, allocations: 160.4 kB / 402.8 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2485, allocations: 8.891 kB / 402.8 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.2486, allocations: 23.94 kB / 402.8 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.2489, allocations: 314.7 kB / 403.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.249, allocations: 0 / 403.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.249, allocations: 12 kB / 403.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.249, allocations: 8 kB / 403.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.2492, allocations: 151.8 kB / 403.3 MB, free: 15.57 MB / 346.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.00094/0.2502, allocations: 0.6705 MB / 403.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.2505, allocations: 186.2 kB / 404.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.2506, allocations: 94.41 kB / 404.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.2508, allocations: 52.7 kB / 404.3 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2508, allocations: 45.33 kB / 404.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.2508, allocations: 0 / 404.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001015/0.2518, allocations: 499 kB / 404.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.2519, allocations: 92.98 kB / 404.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.2519, allocations: 177.9 kB / 405.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.252, allocations: 33.7 kB / 405.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.252, allocations: 151.7 kB / 405.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.2521, allocations: 138.8 kB / 405.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.2522, allocations: 71.34 kB / 405.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2523, allocations: 0.5001 MB / 405.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2524, allocations: 75.95 kB / 406 MB, free: 12.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.2526, allocations: 177.1 kB / 406.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.2529, allocations: 266.7 kB / 406.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2529, allocations: 3.938 kB / 406.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003978/0.2533, allocations: 327.7 kB / 406.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2533, allocations: 8.625 kB / 406.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2533, allocations: 0 / 406.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.2533, allocations: 4 kB / 406.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.2536, allocations: 79.88 kB / 406.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2536, allocations: 8.219 kB / 406.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2537, allocations: 27.89 kB / 406.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.2537, allocations: 11.98 kB / 406.9 MB, free: 11.68 MB / 346.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 9.914e-05/0.2538, allocations: 176.5 kB / 407.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.2539, allocations: 31.84 kB / 407.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.2541, allocations: 164.1 kB / 407.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.2541, allocations: 4 kB / 407.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2541, allocations: 0 / 407.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.2541, allocations: 0 / 407.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/0.2551, allocations: 0.6309 MB / 407.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2551, allocations: 0 / 407.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.2553, allocations: 79.83 kB / 408 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2553, allocations: 4 kB / 408 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.2553, allocations: 11.98 kB / 408 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.2553, allocations: 4.875 kB / 408 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2553, allocations: 0 / 408 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000563/0.2559, allocations: 0.6669 MB / 408.7 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.256, allocations: 39.88 kB / 408.7 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.256, allocations: 11.98 kB / 408.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.2561, allocations: 12 kB / 408.7 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.2562, allocations: 27.89 kB / 408.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.2562, allocations: 23.92 kB / 408.8 MB, free: 9.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.678e-05/0.2562, allocations: 135.7 kB / 408.9 MB, free: 9.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2562, allocations: 0 / 408.9 MB, free: 9.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000406/0.2566, allocations: 135.7 kB / 409.1 MB, free: 9.426 MB / 346.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.000379/0.257, allocations: 257.9 kB / 409.3 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.2574, allocations: 255.2 kB / 409.6 MB, free: 8.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2574, allocations: 0 / 409.6 MB, free: 8.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.2575, allocations: 140.7 kB / 409.7 MB, free: 8.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.258, allocations: 113.2 kB / 409.8 MB, free: 8.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.259, allocations: 0.5177 MB / 410.3 MB, free: 8.102 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.036e-05/0.2591, allocations: 89.27 kB / 410.4 MB, free: 7.996 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.2593, allocations: 69.91 kB / 410.5 MB, free: 7.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.581e-05/0.2594, allocations: 36.48 kB / 410.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2594, allocations: 0 / 410.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of Templates: time 0.007915/0.2673, allocations: 6.25 MB / 416.8 MB, free: 1.672 MB / 346.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: 3.166631583124399]