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.001385/0.001385, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.00156/0.00156, allocations: 165.9 kB / 25.61 MB, free: 8.871 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.8745/0.8745, allocations: 177.1 MB / 206.1 MB, free: 4.484 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.542e-06/1.542e-06, allocations: 0 / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.557e-05, allocations: 6.078 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2303/0.2303, allocations: 144.7 MB / 418.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.2317, allocations: 1.573 MB / 420.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.2318, allocations: 4 kB / 420.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.2321, allocations: 63.59 kB / 420.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.2326, allocations: 176.1 kB / 420.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.2346, allocations: 1.071 MB / 421.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.2349, allocations: 362.5 kB / 422.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.235, allocations: 5.812 kB / 422.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.2352, allocations: 219.4 kB / 422.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.2354, allocations: 119.7 kB / 422.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.2354, allocations: 15.94 kB / 422.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.237, allocations: 1.368 MB / 423.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.2371, allocations: 79.77 kB / 423.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.2372, allocations: 79.89 kB / 424 MB, free: 10.83 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.2384, allocations: 1.087 MB / 425.1 MB, free: 9.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2384, allocations: 0 / 425.1 MB, free: 9.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2384, allocations: 0 / 425.1 MB, free: 9.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.2384, allocations: 0 / 425.1 MB, free: 9.738 MB / 346.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.001014/0.2394, allocations: 0.7176 MB / 425.8 MB, free: 8.984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.2394, allocations: 12.03 kB / 425.8 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.2396, allocations: 40.77 kB / 425.8 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.2397, allocations: 160.5 kB / 426 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.2397, allocations: 20.2 kB / 426 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.2398, allocations: 23.94 kB / 426 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.2401, allocations: 306.6 kB / 426.3 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2401, allocations: 0 / 426.3 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.2401, allocations: 8 kB / 426.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.2401, allocations: 8 kB / 426.3 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.2403, allocations: 127.7 kB / 426.5 MB, free: 8.227 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.0007478/0.241, allocations: 0.6464 MB / 427.1 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.2413, allocations: 170.2 kB / 427.3 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.2414, allocations: 80.19 kB / 427.4 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.2415, allocations: 55.91 kB / 427.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2415, allocations: 37.39 kB / 427.5 MB, free: 7.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.202e-06/0.2415, allocations: 0 / 427.5 MB, free: 7.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001043/0.2426, allocations: 435.3 kB / 427.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.2426, allocations: 89.05 kB / 428 MB, free: 6.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.2427, allocations: 201.8 kB / 428.2 MB, free: 6.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.2427, allocations: 29.7 kB / 428.2 MB, free: 6.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.2428, allocations: 163.6 kB / 428.4 MB, free: 6.211 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.2428, allocations: 130.9 kB / 428.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/0.2429, allocations: 75.33 kB / 428.6 MB, free: 6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.243, allocations: 0.5079 MB / 429.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.2431, allocations: 63.94 kB / 429.1 MB, free: 5.418 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.2432, allocations: 165 kB / 429.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.2434, allocations: 238.5 kB / 429.5 MB, free: 4.953 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2434, allocations: 7.938 kB / 429.5 MB, free: 4.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003099/0.2437, allocations: 276.4 kB / 429.8 MB, free: 4.672 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2437, allocations: 8.844 kB / 429.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2438, allocations: 4 kB / 429.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2438, allocations: 4 kB / 429.8 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.244, allocations: 83.89 kB / 429.9 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.244, allocations: 7.938 kB / 429.9 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2441, allocations: 20.55 kB / 429.9 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.2441, allocations: 12 kB / 429.9 MB, free: 4.535 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.595e-05/0.2442, allocations: 176.5 kB / 430.1 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.2443, allocations: 35.8 kB / 430.1 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.2445, allocations: 149.6 kB / 430.3 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2445, allocations: 7.984 kB / 430.3 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2445, allocations: 0 / 430.3 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.2445, allocations: 7.984 kB / 430.3 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.2451, allocations: 0.595 MB / 430.9 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2451, allocations: 0 / 430.9 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.2453, allocations: 75.89 kB / 431 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2453, allocations: 4 kB / 431 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.2454, allocations: 8 kB / 431 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2454, allocations: 12.14 kB / 431 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2454, allocations: 3.938 kB / 431 MB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.2458, allocations: 0.6049 MB / 431.6 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.2459, allocations: 39.86 kB / 431.6 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.2459, allocations: 8 kB / 431.7 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.2461, allocations: 19.98 kB / 431.7 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.2461, allocations: 35.86 kB / 431.7 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2461, allocations: 15.98 kB / 431.7 MB, free: 2.641 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.311e-05/0.2461, allocations: 135.2 kB / 431.9 MB, free: 2.508 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2461, allocations: 0 / 431.9 MB, free: 2.508 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004024/0.2465, allocations: 151.7 kB / 432 MB, free: 2.359 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.0003305/0.2469, allocations: 253.3 kB / 432.2 MB, free: 2.102 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.2471, allocations: 216 kB / 432.5 MB, free: 1.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2471, allocations: 0 / 432.5 MB, free: 1.887 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.2473, allocations: 136.9 kB / 432.6 MB, free: 1.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.2477, allocations: 114.5 kB / 432.7 MB, free: 1.645 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008846/0.2486, allocations: 0.5394 MB / 433.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.293e-05/0.2486, allocations: 85.64 kB / 433.3 MB, free: 0.957 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.2488, allocations: 66.25 kB / 433.4 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.2491, allocations: 170.1 kB / 433.6 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2491, allocations: 0 / 433.6 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of Templates: time 0.008519/0.2576, allocations: 7.517 MB / 441.1 MB, free: 9.355 MB / 362.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: 2.957846216391772]