Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.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.001329/0.001329, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 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.001419/0.001419, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2244/0.2244, allocations: 46.97 MB / 361.7 MB, free: 4.078 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.89 kB / 0.4969 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3199, allocations: 66.03 MB / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1713/0.4912, allocations: 132.7 MB / 0.6909 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.4932, allocations: 1.305 MB / 0.6922 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.4933, allocations: 7.938 kB / 0.6922 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.4936, allocations: 35.81 kB / 0.6922 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.4966, allocations: 1.087 MB / 0.6933 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.4e-06/0.4967, allocations: 0 / 0.6933 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.4968, allocations: 71.64 kB / 0.6934 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.4968, allocations: 4 kB / 0.6934 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.501e-05/0.4969, allocations: 31.84 kB / 0.6934 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.218e-05/0.497, allocations: 27.91 kB / 0.6934 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.497, allocations: 0 / 0.6934 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.5, allocations: 1.657 MB / 0.6951 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.5001, allocations: 11.98 kB / 0.6951 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.5001, allocations: 19.88 kB / 0.6951 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.5021, allocations: 0.8845 MB / 0.696 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.5021, allocations: 8 kB / 0.696 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5021, allocations: 4 kB / 0.696 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.5021, allocations: 0 / 0.696 GB, free: 9.891 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.0009069/0.503, allocations: 436.5 kB / 0.6964 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.503, allocations: 11.97 kB / 0.6964 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.405e-05/0.503, allocations: 8.125 kB / 0.6964 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.5031, allocations: 34.73 kB / 0.6964 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.5031, allocations: 8.891 kB / 0.6964 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.5032, allocations: 113.4 kB / 0.6965 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.5032, allocations: 0 / 0.6965 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.5032, allocations: 8 kB / 0.6966 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.5034, allocations: 89.58 kB / 0.6966 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.5034, allocations: 0 / 0.6966 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.5034, allocations: 4 kB / 0.6966 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.5035, allocations: 8 kB / 0.6967 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.5036, allocations: 67.95 kB / 0.6967 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.504, allocations: 279.7 kB / 0.697 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.926e-05/0.5041, allocations: 46.48 kB / 0.697 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.5042, allocations: 20.92 kB / 0.697 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.5043, allocations: 31.97 kB / 0.6971 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.5043, allocations: 34.56 kB / 0.6971 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.5043, allocations: 0 / 0.6971 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002123/0.5046, allocations: 69.67 kB / 0.6972 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.5046, allocations: 51.41 kB / 0.6972 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.5047, allocations: 109.8 kB / 0.6973 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.5047, allocations: 29.7 kB / 0.6974 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.5048, allocations: 96.03 kB / 0.6975 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.5048, allocations: 15.84 kB / 0.6975 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.5048, allocations: 25.67 kB / 0.6975 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.505, allocations: 318.8 kB / 0.6978 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/0.505, allocations: 8 kB / 0.6978 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.337e-05/0.5051, allocations: 43.42 kB / 0.6978 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.199e-05/0.5051, allocations: 55.86 kB / 0.6979 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5052, allocations: 0 / 0.6979 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001487/0.5053, allocations: 89.55 kB / 0.698 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.5053, allocations: 4 kB / 0.698 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5053, allocations: 4 kB / 0.698 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.5053, allocations: 0 / 0.698 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/0.5054, allocations: 20.03 kB / 0.698 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.5054, allocations: 0 / 0.698 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.5055, allocations: 4 kB / 0.698 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.5055, allocations: 7.984 kB / 0.698 GB, free: 7.562 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 8.494e-05/0.5056, allocations: 117.8 kB / 0.6981 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.5056, allocations: 7.891 kB / 0.6981 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.5058, allocations: 85.44 kB / 0.6982 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.5058, allocations: 4.109 kB / 0.6982 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5058, allocations: 3.938 kB / 0.6982 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5058, allocations: 0 / 0.6982 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.506, allocations: 140.7 kB / 0.6984 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.506, allocations: 0 / 0.6984 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.506, allocations: 11.98 kB / 0.6984 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.506, allocations: 0 / 0.6984 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.506, allocations: 4 kB / 0.6984 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.506, allocations: 0 / 0.6984 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.506, allocations: 4 kB / 0.6984 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.5062, allocations: 155.4 kB / 0.6985 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.5062, allocations: 8 kB / 0.6985 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.5062, allocations: 3.984 kB / 0.6985 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.5063, allocations: 192 / 0.6985 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.5063, allocations: 12 kB / 0.6986 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-06/0.5063, allocations: 3.938 kB / 0.6986 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.5064, allocations: 83.27 kB / 0.6986 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5064, allocations: 0 / 0.6986 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005965/0.507, allocations: 151.5 kB / 0.6988 GB, free: 6.707 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.001341/0.5083, allocations: 0.9265 MB / 0.6997 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.5084, allocations: 31.92 kB / 0.6997 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5084, allocations: 0 / 0.6997 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/0.5085, allocations: 16 kB / 0.6997 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.5088, allocations: 10.8 kB / 0.6997 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007585/0.5096, allocations: 273.9 kB / 0.7 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.908e-05/0.5097, allocations: 75.27 kB / 0.7001 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.897e-05/0.5097, allocations: 15.98 kB / 0.7001 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.5098, allocations: 23.42 kB / 0.7001 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.5098, allocations: 0 / 0.7001 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.5345, allocations: 5.242 MB / 0.7052 GB, free: 160 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.94, allocations: 3.938 kB / 0.7052 GB, free: 156 kB / 0.5294 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 15.104000543011352]