Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008989/0.0008989, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009506/0.0009506, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9464/0.9464, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 273 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.612e-05, allocations: 2.312 kB / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2281/0.2281, allocations: 147.2 MB / 420.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.2295, allocations: 1.589 MB / 421.8 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.725e-05/0.2295, allocations: 0 / 421.8 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.2299, allocations: 63.59 kB / 421.8 MB, free: 13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.2302, allocations: 170.5 kB / 422 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.2322, allocations: 1.072 MB / 423.1 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005755/0.2328, allocations: 362.5 kB / 423.4 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.2328, allocations: 5.812 kB / 423.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.2331, allocations: 211.4 kB / 423.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.2332, allocations: 127.6 kB / 423.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.2333, allocations: 15.98 kB / 423.8 MB, free: 11.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.2349, allocations: 1.372 MB / 425.2 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.235, allocations: 75.8 kB / 425.2 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.2351, allocations: 79.88 kB / 425.3 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.2362, allocations: 1.087 MB / 426.4 MB, free: 8.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2362, allocations: 4 kB / 426.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2362, allocations: 3.984 kB / 426.4 MB, free: 8.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2363, allocations: 0 / 426.4 MB, free: 8.438 MB / 378.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.001082/0.2373, allocations: 0.7144 MB / 427.1 MB, free: 7.688 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2374, allocations: 8.031 kB / 427.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2375, allocations: 44.77 kB / 427.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.2377, allocations: 164.5 kB / 427.3 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.2377, allocations: 16.27 kB / 427.3 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.2378, allocations: 19.95 kB / 427.4 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.2381, allocations: 330.6 kB / 427.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2381, allocations: 0 / 427.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.2381, allocations: 4 kB / 427.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.2382, allocations: 11.94 kB / 427.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.2384, allocations: 145.7 kB / 427.8 MB, free: 6.895 MB / 378.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.0008957/0.2393, allocations: 0.686 MB / 428.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.2396, allocations: 190.9 kB / 428.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.2397, allocations: 95.7 kB / 428.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.2399, allocations: 43.97 kB / 428.9 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.2399, allocations: 41.39 kB / 428.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.2399, allocations: 0 / 428.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001008/0.2409, allocations: 0.5069 MB / 429.4 MB, free: 5.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.241, allocations: 89.09 kB / 429.5 MB, free: 5.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.2411, allocations: 190.5 kB / 429.7 MB, free: 4.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.2411, allocations: 37.7 kB / 429.7 MB, free: 4.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.2411, allocations: 155.7 kB / 429.9 MB, free: 4.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/0.2412, allocations: 134.9 kB / 430 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.2413, allocations: 75.34 kB / 430.1 MB, free: 4.523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003705/0.2417, allocations: 0.5001 MB / 430.6 MB, free: 4.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.2418, allocations: 79.95 kB / 430.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.242, allocations: 181.1 kB / 430.8 MB, free: 3.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.2422, allocations: 276.8 kB / 431.1 MB, free: 3.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2422, allocations: 0 / 431.1 MB, free: 3.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003873/0.2426, allocations: 314.8 kB / 431.4 MB, free: 3.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2426, allocations: 6.031 kB / 431.4 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2426, allocations: 4.219 kB / 431.4 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2427, allocations: 8 kB / 431.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.2429, allocations: 79.89 kB / 431.5 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2429, allocations: 4 kB / 431.5 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.243, allocations: 27.81 kB / 431.5 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.243, allocations: 19.98 kB / 431.6 MB, free: 2.957 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.2431, allocations: 172.5 kB / 431.7 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.2432, allocations: 35.84 kB / 431.8 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.2434, allocations: 169.4 kB / 431.9 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2434, allocations: 4 kB / 431.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2435, allocations: 0 / 431.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2435, allocations: 0 / 431.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007919/0.2442, allocations: 0.6407 MB / 432.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2443, allocations: 4 kB / 432.6 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.2445, allocations: 67.89 kB / 432.6 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2445, allocations: 4 kB / 432.6 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.2445, allocations: 12 kB / 432.6 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2445, allocations: 4.875 kB / 432.7 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2445, allocations: 8.094 kB / 432.7 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.2451, allocations: 0.6551 MB / 433.3 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.2451, allocations: 43.86 kB / 433.4 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.2452, allocations: 8 kB / 433.4 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.2453, allocations: 15.98 kB / 433.4 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.2454, allocations: 27.89 kB / 433.4 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.2454, allocations: 17.5 kB / 433.4 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.277e-05/0.2454, allocations: 153.8 kB / 433.6 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2454, allocations: 0 / 433.6 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004139/0.2458, allocations: 155.7 kB / 433.7 MB, free: 0.6602 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.0003438/0.2462, allocations: 250.6 kB / 434 MB, free: 412 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.2465, allocations: 251.4 kB / 434.2 MB, free: 156 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2465, allocations: 0 / 434.2 MB, free: 156 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.2467, allocations: 140.9 kB / 434.4 MB, free: 12 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08981/0.3365, allocations: 106.5 kB / 434.5 MB, free: 139.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3377, allocations: 0.5377 MB / 435 MB, free: 139.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.552e-05/0.3377, allocations: 87.73 kB / 435.1 MB, free: 139.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.3379, allocations: 70.27 kB / 435.2 MB, free: 139.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.338, allocations: 37.14 kB / 435.2 MB, free: 139.6 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.338, allocations: 0 / 435.2 MB, free: 139.6 MB / 378.7 MB Notification: Performance of Templates: time 0.008412/0.3465, allocations: 6.549 MB / 441.7 MB, free: 138.2 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.0562670291401446]