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.0009186/0.0009186, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.00086/0.00086, allocations: 138.1 kB / 24.97 MB, free: 8.359 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.8874/0.8874, allocations: 173.4 MB / 201.5 MB, free: 9.32 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.282e-06/1.282e-06, allocations: 0 / 268 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.752e-05, allocations: 10.19 kB / 268 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2078/0.2078, allocations: 144.1 MB / 412.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.2093, allocations: 1.582 MB / 413.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.2094, allocations: 0 / 413.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.2097, allocations: 58.62 kB / 413.8 MB, free: 7.918 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.21, allocations: 147.8 kB / 414 MB, free: 7.777 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.2119, allocations: 1.066 MB / 415 MB, free: 6.719 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.2122, allocations: 334.7 kB / 415.4 MB, free: 6.391 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.2123, allocations: 9.641 kB / 415.4 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.2125, allocations: 195.5 kB / 415.6 MB, free: 6.188 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.2127, allocations: 119.7 kB / 415.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.2127, allocations: 12 kB / 415.7 MB, free: 6.059 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.2143, allocations: 1.333 MB / 417 MB, free: 4.723 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.2144, allocations: 83.78 kB / 417.1 MB, free: 4.641 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.2144, allocations: 67.89 kB / 417.2 MB, free: 4.574 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.2157, allocations: 1.048 MB / 418.2 MB, free: 3.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2157, allocations: 0 / 418.2 MB, free: 3.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2157, allocations: 0 / 418.2 MB, free: 3.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.2157, allocations: 0 / 418.2 MB, free: 3.523 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.001152/0.2169, allocations: 0.6944 MB / 418.9 MB, free: 2.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2169, allocations: 8.922 kB / 418.9 MB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.2171, allocations: 40.77 kB / 419 MB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.2173, allocations: 160.5 kB / 419.1 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2173, allocations: 16.27 kB / 419.1 MB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.2173, allocations: 19.98 kB / 419.2 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.2177, allocations: 326.6 kB / 419.5 MB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2177, allocations: 0 / 419.5 MB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.2177, allocations: 8 kB / 419.5 MB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.2177, allocations: 4 kB / 419.5 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.2181, allocations: 147.8 kB / 419.6 MB, free: 2.012 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.0009118/0.219, allocations: 0.6776 MB / 420.3 MB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.2194, allocations: 190.2 kB / 420.5 MB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.2195, allocations: 88.2 kB / 420.6 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.2196, allocations: 51.95 kB / 420.6 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.2196, allocations: 41.39 kB / 420.7 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.392e-06/0.2196, allocations: 0 / 420.7 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009811/0.2206, allocations: 0.4937 MB / 421.2 MB, free: 392 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.2207, allocations: 89.05 kB / 421.3 MB, free: 284 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.2207, allocations: 176 kB / 421.4 MB, free: 92 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.2208, allocations: 37.7 kB / 421.5 MB, free: 48 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.2208, allocations: 151.7 kB / 421.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.2209, allocations: 130.9 kB / 421.7 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.449e-05/0.221, allocations: 75.3 kB / 421.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2211, allocations: 0.504 MB / 422.3 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.2212, allocations: 79.95 kB / 422.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.2214, allocations: 184.6 kB / 422.6 MB, free: 14.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.2217, allocations: 274.5 kB / 422.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2217, allocations: 0 / 422.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003804/0.222, allocations: 308.3 kB / 423.1 MB, free: 14.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2221, allocations: 8 kB / 423.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2221, allocations: 4.156 kB / 423.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2221, allocations: 11.94 kB / 423.2 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.2223, allocations: 83.89 kB / 423.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2223, allocations: 3.984 kB / 423.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2224, allocations: 19.94 kB / 423.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.2224, allocations: 15.98 kB / 423.3 MB, free: 14.12 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.0001004/0.2225, allocations: 176.5 kB / 423.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.2226, allocations: 31.84 kB / 423.5 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.2228, allocations: 168.3 kB / 423.7 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2228, allocations: 4 kB / 423.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2228, allocations: 0 / 423.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2228, allocations: 0 / 423.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.2236, allocations: 0.6286 MB / 424.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2236, allocations: 0 / 424.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.2237, allocations: 79.83 kB / 424.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2237, allocations: 4 kB / 424.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.2238, allocations: 8 kB / 424.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2238, allocations: 8.141 kB / 424.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2238, allocations: 7.938 kB / 424.4 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.2243, allocations: 0.6566 MB / 425.1 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.2244, allocations: 39.86 kB / 425.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.2244, allocations: 12 kB / 425.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.2246, allocations: 11.98 kB / 425.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.2246, allocations: 31.89 kB / 425.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.2246, allocations: 16.91 kB / 425.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.229e-05/0.2246, allocations: 135.2 kB / 425.3 MB, free: 12 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2246, allocations: 0 / 425.3 MB, free: 12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003703/0.225, allocations: 143.7 kB / 425.4 MB, free: 11.86 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.0003244/0.2253, allocations: 239.8 kB / 425.7 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.2257, allocations: 255.1 kB / 425.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2257, allocations: 0 / 425.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.2258, allocations: 144.2 kB / 426.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.2262, allocations: 113.3 kB / 426.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2273, allocations: 0.5011 MB / 426.7 MB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.296e-05/0.2274, allocations: 89.33 kB / 426.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.2276, allocations: 81.86 kB / 426.8 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.2276, allocations: 32.48 kB / 426.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2276, allocations: 3.938 kB / 426.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of Templates: time 0.0071/0.2347, allocations: 6.086 MB / 433 MB, free: 4.363 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: 2.9820381470490247]