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.001672/0.001672, allocations: 77.86 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001505/0.001505, allocations: 159.8 kB / 24.5 MB, free: 3.715 MB / 14.72 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 1.471/1.471, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] 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.2083/0.2083, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 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 0.002487/0.002487, allocations: 83.88 kB / 443.1 MB, free: 6.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2801, allocations: 66.05 MB / 0.4972 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1612/0.4413, allocations: 132.8 MB / 0.6269 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.4435, allocations: 1.305 MB / 0.6282 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.4435, allocations: 0 / 0.6282 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.4439, allocations: 35.81 kB / 0.6283 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.447, allocations: 1.085 MB / 0.6293 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.253e-06/0.447, allocations: 4 kB / 0.6293 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.4472, allocations: 75.62 kB / 0.6294 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.4472, allocations: 0 / 0.6294 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.581e-05/0.4472, allocations: 31.86 kB / 0.6294 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.4473, allocations: 35.83 kB / 0.6295 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.4473, allocations: 0 / 0.6295 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.4504, allocations: 1.598 MB / 0.631 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.4504, allocations: 19.86 kB / 0.631 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.4505, allocations: 15.94 kB / 0.631 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.452, allocations: 0.8884 MB / 0.6319 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.452, allocations: 4 kB / 0.6319 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.153e-06/0.452, allocations: 0 / 0.6319 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.452, allocations: 0 / 0.6319 GB, free: 11.23 MB / 0.5294 GB 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.0007399/0.4528, allocations: 440.5 kB / 0.6323 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.4528, allocations: 8.031 kB / 0.6323 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.4528, allocations: 4.891 kB / 0.6324 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.453, allocations: 113.7 kB / 0.6325 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.453, allocations: 7.984 kB / 0.6325 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.453, allocations: 3.938 kB / 0.6325 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.4532, allocations: 93.64 kB / 0.6326 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4532, allocations: 7.938 kB / 0.6326 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.4532, allocations: 0 / 0.6326 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.4532, allocations: 4 kB / 0.6326 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.4533, allocations: 71.89 kB / 0.6326 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.4538, allocations: 256.3 kB / 0.6329 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.186e-05/0.4539, allocations: 38.56 kB / 0.6329 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.4539, allocations: 16.98 kB / 0.6329 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.454, allocations: 31.97 kB / 0.633 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.4541, allocations: 30.56 kB / 0.633 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.4541, allocations: 0 / 0.633 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.000216/0.4543, allocations: 77.56 kB / 0.6331 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.4543, allocations: 51.41 kB / 0.6331 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.4544, allocations: 110 kB / 0.6332 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.4544, allocations: 29.7 kB / 0.6333 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.4545, allocations: 100 kB / 0.6334 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.4545, allocations: 19.8 kB / 0.6334 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.4546, allocations: 21.72 kB / 0.6334 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4547, allocations: 318.8 kB / 0.6337 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.902e-05/0.4547, allocations: 8.25 kB / 0.6337 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/0.4548, allocations: 39.42 kB / 0.6337 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.865e-05/0.4549, allocations: 63.36 kB / 0.6338 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4549, allocations: 0 / 0.6338 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001448/0.455, allocations: 85.55 kB / 0.6339 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.455, allocations: 7.938 kB / 0.6339 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.4551, allocations: 4 kB / 0.6339 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4551, allocations: 0 / 0.6339 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.4551, allocations: 12 kB / 0.6339 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4552, allocations: 96 / 0.6339 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.529e-05/0.4552, allocations: 11.95 kB / 0.6339 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.4552, allocations: 4 kB / 0.6339 GB, free: 8.984 MB / 0.5294 GB 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 9.009e-05/0.4553, allocations: 117.9 kB / 0.634 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.4553, allocations: 7.875 kB / 0.634 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.4555, allocations: 85.3 kB / 0.6341 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.4555, allocations: 0 / 0.6341 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4555, allocations: 4 kB / 0.6341 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4555, allocations: 0 / 0.6341 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.4557, allocations: 117.3 kB / 0.6342 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4557, allocations: 0 / 0.6342 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.4557, allocations: 4 kB / 0.6342 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4557, allocations: 4 kB / 0.6342 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.4557, allocations: 3.938 kB / 0.6342 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4557, allocations: 0 / 0.6342 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4557, allocations: 3.984 kB / 0.6343 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.4559, allocations: 167.6 kB / 0.6344 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-06/0.4559, allocations: 0 / 0.6344 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.4559, allocations: 7.938 kB / 0.6344 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.456, allocations: 4 kB / 0.6344 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.456, allocations: 3.984 kB / 0.6344 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.456, allocations: 4 kB / 0.6344 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.456, allocations: 83.28 kB / 0.6345 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.456, allocations: 0 / 0.6345 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005118/0.4565, allocations: 151.5 kB / 0.6347 GB, free: 8.168 MB / 0.5294 GB 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.0007336/0.4573, allocations: 338.6 kB / 0.635 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.4574, allocations: 35.92 kB / 0.635 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4574, allocations: 0 / 0.635 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/0.4574, allocations: 12 kB / 0.635 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.4577, allocations: 11.98 kB / 0.635 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.4581, allocations: 177.1 kB / 0.6352 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.795e-05/0.4582, allocations: 76.97 kB / 0.6353 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.762e-05/0.4583, allocations: 11.94 kB / 0.6353 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.4583, allocations: 24.48 kB / 0.6353 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.4583, allocations: 0 / 0.6353 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of Templates: time 0.008225/0.4665, allocations: 3.661 MB / 0.6389 GB, free: 3.789 MB / 0.5294 GB " [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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.397857694071718]