Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9959/0.9959, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2512/0.2512, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.717e-05/5.884e-05, allocations: 6.25 kB / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2997/0.2997, allocations: 146.6 MB / 0.513 GB, free: 16.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3011, allocations: 1.466 MB / 0.5144 GB, free: 16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.3011, allocations: 0 / 0.5144 GB, free: 16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.3015, allocations: 40.56 kB / 0.5145 GB, free: 15.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.3038, allocations: 1.097 MB / 0.5156 GB, free: 15.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.042e-06/0.3038, allocations: 0 / 0.5156 GB, free: 15.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.3039, allocations: 72.27 kB / 0.5156 GB, free: 15.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.304, allocations: 3.984 kB / 0.5156 GB, free: 15.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.304, allocations: 37.77 kB / 0.5157 GB, free: 15.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.3041, allocations: 27.95 kB / 0.5157 GB, free: 15.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.3041, allocations: 7.938 kB / 0.5157 GB, free: 15.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.3061, allocations: 1.614 MB / 0.5173 GB, free: 15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.3061, allocations: 15.83 kB / 0.5173 GB, free: 14.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.3061, allocations: 18.11 kB / 0.5173 GB, free: 14.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.3073, allocations: 1.035 MB / 0.5183 GB, free: 14.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3073, allocations: 0 / 0.5183 GB, free: 14.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3073, allocations: 3.062 kB / 0.5183 GB, free: 14.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3073, allocations: 0 / 0.5183 GB, free: 14.68 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006399/0.308, allocations: 0.5326 MB / 0.5188 GB, free: 14.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.308, allocations: 9.125 kB / 0.5189 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.3081, allocations: 10.16 kB / 0.5189 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.105e-05/0.3082, allocations: 118.2 kB / 0.519 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3082, allocations: 3.219 kB / 0.519 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.3082, allocations: 7 kB / 0.519 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3083, allocations: 56.28 kB / 0.519 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3083, allocations: 0 / 0.519 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3083, allocations: 0 / 0.519 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.3084, allocations: 13.14 kB / 0.5191 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.16e-05/0.3084, allocations: 27.38 kB / 0.5191 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.3088, allocations: 313.2 kB / 0.5194 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.587e-05/0.3088, allocations: 42.94 kB / 0.5194 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.148e-05/0.3089, allocations: 18.78 kB / 0.5194 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.309, allocations: 26.47 kB / 0.5195 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.309, allocations: 35.55 kB / 0.5195 GB, free: 13.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.044e-06/0.309, allocations: 0 / 0.5195 GB, free: 13.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001648/0.3092, allocations: 60.23 kB / 0.5196 GB, free: 13.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.3092, allocations: 54.22 kB / 0.5196 GB, free: 13.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.718e-05/0.3092, allocations: 172.4 kB / 0.5198 GB, free: 13.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-06/0.3093, allocations: 25.7 kB / 0.5198 GB, free: 13.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.3093, allocations: 153.3 kB / 0.5199 GB, free: 13.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.939e-06/0.3093, allocations: 17.78 kB / 0.52 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.3093, allocations: 27.52 kB / 0.52 GB, free: 13.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.136e-05/0.3094, allocations: 495.2 kB / 0.5205 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.3094, allocations: 10.88 kB / 0.5205 GB, free: 12.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.3094, allocations: 49.97 kB / 0.5205 GB, free: 12.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.649e-05/0.3095, allocations: 63.97 kB / 0.5206 GB, free: 12.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3095, allocations: 0 / 0.5206 GB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.203e-05/0.3095, allocations: 81.44 kB / 0.5206 GB, free: 12.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3096, allocations: 8.75 kB / 0.5207 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3096, allocations: 0 / 0.5207 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3096, allocations: 2.531 kB / 0.5207 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.3096, allocations: 15.06 kB / 0.5207 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3097, allocations: 11.03 kB / 0.5207 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.3097, allocations: 3.938 kB / 0.5207 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.3097, allocations: 7.344 kB / 0.5207 GB, free: 12.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 4.008e-05/0.3097, allocations: 159.1 kB / 0.5208 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.3097, allocations: 10.95 kB / 0.5209 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.3099, allocations: 65.38 kB / 0.5209 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.3099, allocations: 4.094 kB / 0.5209 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3099, allocations: 6.875 kB / 0.5209 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3099, allocations: 6.469 kB / 0.5209 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.752e-05/0.31, allocations: 127.8 kB / 0.5211 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.31, allocations: 3.938 kB / 0.5211 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.31, allocations: 13.12 kB / 0.5211 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.31, allocations: 0 / 0.5211 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.31, allocations: 4.312 kB / 0.5211 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.31, allocations: 0 / 0.5211 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.31, allocations: 0 / 0.5211 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.549e-05/0.3101, allocations: 205.1 kB / 0.5213 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.3101, allocations: 6.672 kB / 0.5213 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.3101, allocations: 2.781 kB / 0.5213 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.595e-05/0.3101, allocations: 0 / 0.5213 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.3102, allocations: 5.203 kB / 0.5213 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3102, allocations: 0 / 0.5213 GB, free: 11.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.981e-05/0.3102, allocations: 139.9 kB / 0.5214 GB, free: 11.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3102, allocations: 0 / 0.5214 GB, free: 11.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003365/0.3105, allocations: 152.2 kB / 0.5216 GB, free: 11.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0004889/0.311, allocations: 347.8 kB / 0.5219 GB, free: 11.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.3111, allocations: 40.56 kB / 0.5219 GB, free: 11.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3111, allocations: 0 / 0.5219 GB, free: 11.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.652e-05/0.3111, allocations: 27.12 kB / 0.522 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.3113, allocations: 10.92 kB / 0.522 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.312, allocations: 176.8 kB / 0.5221 GB, free: 11.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.634e-05/0.312, allocations: 57.73 kB / 0.5222 GB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.3121, allocations: 23.97 kB / 0.5222 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.3121, allocations: 21.05 kB / 0.5222 GB, free: 11.27 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.3121, allocations: 0 / 0.5222 GB, free: 11.27 MB / 410.7 MB Notification: Performance of Templates: time 0.005191/0.3173, allocations: 3.755 MB / 0.5259 GB, free: 10.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/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.609704946866259]