Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 144.8 kB / 24.89 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9207/0.9207, allocations: 173.4 MB / 201.5 MB, free: 8.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 268.4 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.497e-05, allocations: 6.25 kB / 268.4 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2279/0.2279, allocations: 143.8 MB / 412.3 MB, free: 9.176 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.2295, allocations: 1.593 MB / 413.8 MB, free: 7.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.2296, allocations: 0 / 413.8 MB, free: 7.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.2299, allocations: 54.77 kB / 413.9 MB, free: 7.539 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.2302, allocations: 161 kB / 414.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.2325, allocations: 1.061 MB / 415.1 MB, free: 6.332 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.2328, allocations: 334.7 kB / 415.4 MB, free: 6.004 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.2329, allocations: 14.22 kB / 415.5 MB, free: 5.988 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.2331, allocations: 199.4 kB / 415.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.2333, allocations: 107.7 kB / 415.8 MB, free: 5.688 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.2333, allocations: 12 kB / 415.8 MB, free: 5.676 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.235, allocations: 1.325 MB / 417.1 MB, free: 4.348 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/0.235, allocations: 79.77 kB / 417.2 MB, free: 4.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.2351, allocations: 71.89 kB / 417.2 MB, free: 4.199 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.2363, allocations: 1.052 MB / 418.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2363, allocations: 0 / 418.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2363, allocations: 0 / 418.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.2363, allocations: 0 / 418.3 MB, free: 3.145 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.001048/0.2373, allocations: 0.5658 MB / 418.9 MB, free: 2.555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2374, allocations: 8.922 kB / 418.9 MB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.2375, allocations: 36.84 kB / 418.9 MB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.2377, allocations: 149.7 kB / 419.1 MB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.2377, allocations: 12.27 kB / 419.1 MB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.2377, allocations: 24 kB / 419.1 MB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.238, allocations: 303.8 kB / 419.4 MB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2381, allocations: 3.984 kB / 419.4 MB, free: 1.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.2381, allocations: 4 kB / 419.4 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.2381, allocations: 8 kB / 419.4 MB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.2383, allocations: 102.6 kB / 419.5 MB, free: 1.852 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.0008371/0.2391, allocations: 0.4967 MB / 420 MB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.2394, allocations: 141.6 kB / 420.1 MB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.2395, allocations: 70.5 kB / 420.2 MB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.2396, allocations: 57.08 kB / 420.3 MB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.2396, allocations: 38.56 kB / 420.3 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.2396, allocations: 0 / 420.3 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008573/0.2405, allocations: 373.1 kB / 420.7 MB, free: 0.625 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.2405, allocations: 85.05 kB / 420.7 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.2406, allocations: 128.8 kB / 420.9 MB, free: 396 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.2406, allocations: 33.7 kB / 420.9 MB, free: 356 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.2407, allocations: 108.9 kB / 421 MB, free: 244 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.295e-05/0.2407, allocations: 122.9 kB / 421.1 MB, free: 120 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.2408, allocations: 73.59 kB / 421.2 MB, free: 40 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.2409, allocations: 330.8 kB / 421.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.241, allocations: 58.81 kB / 421.6 MB, free: 15.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.2411, allocations: 123.6 kB / 421.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.2414, allocations: 216.8 kB / 421.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2414, allocations: 0 / 421.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003032/0.2417, allocations: 221.3 kB / 422.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2417, allocations: 12.22 kB / 422.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2417, allocations: 0.625 kB / 422.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2417, allocations: 4 kB / 422.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.242, allocations: 83.77 kB / 422.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.242, allocations: 4 kB / 422.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.2421, allocations: 23.92 kB / 422.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.2422, allocations: 11.31 kB / 422.3 MB, free: 14.91 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 9.392e-05/0.2423, allocations: 128.6 kB / 422.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.2423, allocations: 27.97 kB / 422.4 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.2425, allocations: 130.4 kB / 422.5 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2425, allocations: 7.984 kB / 422.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2425, allocations: 3.938 kB / 422.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2425, allocations: 8 kB / 422.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007104/0.2432, allocations: 441.6 kB / 423 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2432, allocations: 0 / 423 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.2435, allocations: 71.89 kB / 423.1 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2435, allocations: 4.156 kB / 423.1 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.2435, allocations: 15.98 kB / 423.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2435, allocations: 4 kB / 423.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2435, allocations: 7.922 kB / 423.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.244, allocations: 474 kB / 423.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.244, allocations: 27.89 kB / 423.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.2441, allocations: 8 kB / 423.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.2442, allocations: 20.02 kB / 423.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.2443, allocations: 27.89 kB / 423.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.2443, allocations: 8 kB / 423.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.028e-05/0.2443, allocations: 20.84 kB / 423.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2443, allocations: 0 / 423.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004468/0.2448, allocations: 143.7 kB / 423.8 MB, free: 13.27 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.0003452/0.2451, allocations: 220.7 kB / 424 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.2454, allocations: 195.9 kB / 424.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2454, allocations: 4.438 kB / 424.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.2455, allocations: 116.5 kB / 424.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.246, allocations: 104.2 kB / 424.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009817/0.247, allocations: 480.2 kB / 424.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.543e-05/0.2471, allocations: 89.27 kB / 425 MB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002267/0.2473, allocations: 53.94 kB / 425.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.2476, allocations: 135.2 kB / 425.2 MB, free: 11.83 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.2476, allocations: 0 / 425.2 MB, free: 11.83 MB / 378.7 MB Notification: Performance of Templates: time 0.0127/0.2603, allocations: 6.986 MB / 432.2 MB, free: 4.945 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.09328768029809]