Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001768/0.001768, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002274/0.002274, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.91 MB / 358.8 MB, free: 6.246 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 63.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3125, allocations: 65.48 MB / 0.557 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1885/0.501, allocations: 154.4 MB / 0.7078 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.5031, allocations: 1.355 MB / 0.7091 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.5032, allocations: 4 kB / 0.7091 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.5035, allocations: 47.86 kB / 0.7091 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.5066, allocations: 1.045 MB / 0.7102 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.841e-06/0.5066, allocations: 0 / 0.7102 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.5067, allocations: 55.66 kB / 0.7102 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.5068, allocations: 4 kB / 0.7102 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/0.5068, allocations: 15.97 kB / 0.7102 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.989e-05/0.5069, allocations: 23.86 kB / 0.7102 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.5069, allocations: 3.984 kB / 0.7102 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003774/0.5107, allocations: 1.903 MB / 0.7121 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.5107, allocations: 19.98 kB / 0.7121 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.5108, allocations: 23.86 kB / 0.7121 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00228/0.5131, allocations: 0.9157 MB / 0.713 GB, free: 7.371 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5131, allocations: 0 / 0.713 GB, free: 7.371 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5131, allocations: 0 / 0.713 GB, free: 7.371 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.5131, allocations: 0 / 0.713 GB, free: 7.371 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009009/0.514, allocations: 432.6 kB / 0.7135 GB, free: 6.918 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.514, allocations: 8.031 kB / 0.7135 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.5141, allocations: 38.75 kB / 0.7135 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.5141, allocations: 4.922 kB / 0.7135 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.5142, allocations: 117.5 kB / 0.7136 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.5142, allocations: 3.984 kB / 0.7136 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.5142, allocations: 8 kB / 0.7136 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.5144, allocations: 69.67 kB / 0.7137 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5144, allocations: 7.875 kB / 0.7137 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5144, allocations: 4 kB / 0.7137 GB, free: 6.621 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.5144, allocations: 4 kB / 0.7137 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.88e-05/0.5145, allocations: 55.97 kB / 0.7138 GB, free: 6.562 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.515, allocations: 271.8 kB / 0.714 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.343e-05/0.5151, allocations: 34.5 kB / 0.7141 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.5151, allocations: 16.84 kB / 0.7141 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.5152, allocations: 35.98 kB / 0.7141 GB, free: 6.156 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.5153, allocations: 30.56 kB / 0.7141 GB, free: 6.117 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.5153, allocations: 0 / 0.7141 GB, free: 6.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001946/0.5155, allocations: 57.69 kB / 0.7142 GB, free: 6.055 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.5155, allocations: 55.52 kB / 0.7142 GB, free: 5.988 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.5156, allocations: 101.8 kB / 0.7143 GB, free: 5.879 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.5156, allocations: 29.64 kB / 0.7144 GB, free: 5.844 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.5157, allocations: 99.98 kB / 0.7145 GB, free: 5.742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.5157, allocations: 11.84 kB / 0.7145 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.5157, allocations: 25.7 kB / 0.7145 GB, free: 5.699 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5159, allocations: 314.8 kB / 0.7148 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.5159, allocations: 7.984 kB / 0.7148 GB, free: 5.375 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.381e-05/0.516, allocations: 35.44 kB / 0.7148 GB, free: 5.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.499e-05/0.516, allocations: 51.36 kB / 0.7149 GB, free: 5.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.516, allocations: 0 / 0.7149 GB, free: 5.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00013/0.5162, allocations: 81.52 kB / 0.715 GB, free: 5.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.5162, allocations: 7.984 kB / 0.715 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5162, allocations: 0 / 0.715 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.5162, allocations: 4 kB / 0.715 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.5163, allocations: 8 kB / 0.715 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.5163, allocations: 7.938 kB / 0.715 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.5163, allocations: 0 / 0.715 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.5164, allocations: 8 kB / 0.715 GB, free: 5.145 MB / 0.545 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 (7): * Single equations (assignments): 7 * 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.0001116/0.5165, allocations: 113.8 kB / 0.7151 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.5165, allocations: 8.031 kB / 0.7151 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.5167, allocations: 65.31 kB / 0.7152 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.5167, allocations: 3.984 kB / 0.7152 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5167, allocations: 0 / 0.7152 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5167, allocations: 3.938 kB / 0.7152 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.5169, allocations: 136.7 kB / 0.7153 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5169, allocations: 3.938 kB / 0.7153 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.5169, allocations: 12 kB / 0.7153 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5169, allocations: 0 / 0.7153 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.5169, allocations: 0 / 0.7153 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.5169, allocations: 4 kB / 0.7153 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5169, allocations: 0 / 0.7153 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.5171, allocations: 148 kB / 0.7155 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.5171, allocations: 3.938 kB / 0.7155 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.5171, allocations: 4.047 kB / 0.7155 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.715e-05/0.5172, allocations: 7.984 kB / 0.7155 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.5172, allocations: 4 kB / 0.7155 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.5172, allocations: 11.92 kB / 0.7155 GB, free: 4.551 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.115e-05/0.5172, allocations: 79.28 kB / 0.7156 GB, free: 4.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5172, allocations: 3.938 kB / 0.7156 GB, free: 4.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006065/0.5178, allocations: 143.5 kB / 0.7157 GB, free: 4.328 MB / 0.545 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 (4): * Single equations (assignments): 4 * 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.001359/0.5192, allocations: 0.8953 MB / 0.7166 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.5193, allocations: 31.92 kB / 0.7166 GB, free: 3.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5193, allocations: 0 / 0.7166 GB, free: 3.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.797e-05/0.5193, allocations: 8 kB / 0.7166 GB, free: 3.367 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.5196, allocations: 7.984 kB / 0.7166 GB, free: 3.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006829/0.5203, allocations: 245.3 kB / 0.7169 GB, free: 3.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.5206, allocations: 0.6845 MB / 0.7175 GB, free: 2.367 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.306e-05/0.5207, allocations: 20.31 kB / 0.7176 GB, free: 2.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.5208, allocations: 19.44 kB / 0.7176 GB, free: 2.328 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.5208, allocations: 0 / 0.7176 GB, free: 2.328 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.552, allocations: 4.722 MB / 0.7222 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.85, allocations: 2.812 kB / 0.7222 GB, free: 13.73 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 14.988152147037908]