Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.001852/0.001852, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002156/0.002156, allocations: 217.7 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2307/0.2307, allocations: 44.26 MB / 330.3 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002626/0.002626, allocations: 81.59 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1244, allocations: 61.04 MB / 0.5161 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001894/0.1263, allocations: 498.9 kB / 0.5166 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007609/0.1271, allocations: 261 kB / 0.5169 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.1271, allocations: 0 / 0.5169 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.1271, allocations: 0 / 0.5169 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.1271, allocations: 0 / 0.5169 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.1275, allocations: 47.83 kB / 0.5169 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.914e-05/0.1275, allocations: 7.984 kB / 0.5169 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.1276, allocations: 4 kB / 0.5169 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.1276, allocations: 0 / 0.5169 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.34e-05/0.1276, allocations: 3.984 kB / 0.5169 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.1276, allocations: 0 / 0.5169 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.1278, allocations: 67.89 kB / 0.517 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.1278, allocations: 4 kB / 0.517 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.1278, allocations: 3.938 kB / 0.517 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.1279, allocations: 55.86 kB / 0.517 GB, free: 6.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1279, allocations: 0 / 0.517 GB, free: 6.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1279, allocations: 0 / 0.517 GB, free: 6.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.128, allocations: 4 kB / 0.517 GB, free: 6.254 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003463/0.1283, allocations: 287.9 kB / 0.5173 GB, free: 5.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1283, allocations: 8.031 kB / 0.5173 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/0.1284, allocations: 38.69 kB / 0.5174 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.1284, allocations: 8.891 kB / 0.5174 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.243e-05/0.1285, allocations: 106.5 kB / 0.5175 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1285, allocations: 384 / 0.5175 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1285, allocations: 4.359 kB / 0.5175 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.1286, allocations: 55.97 kB / 0.5175 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1286, allocations: 3.938 kB / 0.5175 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1287, allocations: 0 / 0.5175 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1287, allocations: 0 / 0.5175 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.83e-05/0.1287, allocations: 37.64 kB / 0.5176 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.1288, allocations: 116.8 kB / 0.5177 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.773e-05/0.1289, allocations: 48.3 kB / 0.5177 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.1289, allocations: 30.56 kB / 0.5178 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.1289, allocations: 0 / 0.5178 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.129, allocations: 64.33 kB / 0.5178 GB, free: 5.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.129, allocations: 0 / 0.5178 GB, free: 5.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002341/0.1292, allocations: 126.7 kB / 0.5179 GB, free: 5.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.1293, allocations: 77.11 kB / 0.518 GB, free: 5.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.951e-05/0.1294, allocations: 93.98 kB / 0.5181 GB, free: 4.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1294, allocations: 29.7 kB / 0.5181 GB, free: 4.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.1294, allocations: 84.14 kB / 0.5182 GB, free: 4.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.1294, allocations: 0 / 0.5182 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.1295, allocations: 9.719 kB / 0.5182 GB, free: 4.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1296, allocations: 314.8 kB / 0.5185 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.1297, allocations: 29.69 kB / 0.5186 GB, free: 4.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.1297, allocations: 25.7 kB / 0.5186 GB, free: 4.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.003e-05/0.1297, allocations: 64.27 kB / 0.5186 GB, free: 4.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1297, allocations: 0 / 0.5186 GB, free: 4.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001047/0.1298, allocations: 93.11 kB / 0.5187 GB, free: 4.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.1299, allocations: 33.69 kB / 0.5188 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1299, allocations: 7.938 kB / 0.5188 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1299, allocations: 0 / 0.5188 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.1299, allocations: 0 / 0.5188 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1299, allocations: 0 / 0.5188 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.1299, allocations: 3.938 kB / 0.5188 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1299, allocations: 0 / 0.5188 GB, free: 4.188 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001085/0.1301, allocations: 143.5 kB / 0.5189 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-06/0.1301, allocations: 0 / 0.5189 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.03e-05/0.1301, allocations: 10.97 kB / 0.5189 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1301, allocations: 3.984 kB / 0.5189 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1301, allocations: 7.938 kB / 0.5189 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.1301, allocations: 0 / 0.5189 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.1302, allocations: 112.8 kB / 0.519 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1302, allocations: 0 / 0.519 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.1302, allocations: 0 / 0.519 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1302, allocations: 0 / 0.519 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.1302, allocations: 7.938 kB / 0.519 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1302, allocations: 4 kB / 0.519 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1302, allocations: 0 / 0.519 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.1304, allocations: 124.5 kB / 0.5192 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-06/0.1304, allocations: 0 / 0.5192 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1304, allocations: 3.938 kB / 0.5192 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.056e-05/0.1304, allocations: 7.984 kB / 0.5192 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.1304, allocations: 0 / 0.5192 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1304, allocations: 0 / 0.5192 GB, free: 3.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.907e-05/0.1304, allocations: 75.28 kB / 0.5192 GB, free: 3.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1304, allocations: 0 / 0.5192 GB, free: 3.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1307, allocations: 23.94 kB / 0.5193 GB, free: 3.586 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001093/0.1318, allocations: 0.8372 MB / 0.5201 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.1319, allocations: 110.8 kB / 0.5202 GB, free: 2.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1319, allocations: 0 / 0.5202 GB, free: 2.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.103e-05/0.132, allocations: 81.11 kB / 0.5203 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1321, allocations: 7.938 kB / 0.5203 GB, free: 2.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.1325, allocations: 148.3 kB / 0.5204 GB, free: 2.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.249e-05/0.1325, allocations: 55.36 kB / 0.5205 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.143e-06/0.1325, allocations: 3.984 kB / 0.5205 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.1325, allocations: 7.438 kB / 0.5205 GB, free: 2.223 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1325, allocations: 0 / 0.5205 GB, free: 2.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.1622, allocations: 2.15 MB / 0.5226 GB, free: 60 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.61, allocations: 11.94 kB / 0.5226 GB, free: 48 kB / 398.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.706503234338015]