Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.001298/0.001298, allocations: 111.7 kB / 19.69 MB, free: 2.207 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.001465/0.001465, allocations: 219.1 kB / 23.01 MB, free: 5.062 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.436/1.436, allocations: 207.6 MB / 233.8 MB, free: 9.992 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.2178/0.2178, allocations: 44.23 MB / 330.3 MB, free: 9.523 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.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",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.002216/0.002216, allocations: 63.91 kB / 467.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1087, allocations: 61.04 MB / 0.5161 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001703/0.1104, allocations: 499 kB / 0.5166 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.1136, allocations: 2.084 MB / 0.5186 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.1136, allocations: 4 kB / 0.5186 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.1136, allocations: 0 / 0.5186 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.343e-05/0.1136, allocations: 0 / 0.5186 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.1147, allocations: 378.8 kB / 0.519 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.25e-05/0.1148, allocations: 7.984 kB / 0.519 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.1148, allocations: 0 / 0.519 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.1148, allocations: 4 kB / 0.519 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0211/0.1359, allocations: 3.385 MB / 0.5223 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1359, allocations: 0 / 0.5223 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.038e-05/0.136, allocations: 8 kB / 0.5223 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.136, allocations: 3.984 kB / 0.5223 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.1361, allocations: 4 kB / 0.5223 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.1362, allocations: 4 kB / 0.5223 GB, free: 1.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.1362, allocations: 4 kB / 0.5223 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1362, allocations: 0 / 0.5223 GB, free: 1.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1362, allocations: 0 / 0.5223 GB, free: 1.027 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000303/0.1365, allocations: 238.4 kB / 0.5226 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1366, allocations: 16.03 kB / 0.5226 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.576e-05/0.1366, allocations: 106 kB / 0.5227 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.1368, allocations: 88.2 kB / 0.5228 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.137, allocations: 189.8 kB / 0.523 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.949e-05/0.137, allocations: 150.9 kB / 0.5231 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.1371, allocations: 154.5 kB / 0.5232 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/0.1372, allocations: 105 kB / 0.5233 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.1372, allocations: 75.28 kB / 0.5234 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/0.1373, allocations: 150.6 kB / 0.5236 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-05/0.1374, allocations: 150.6 kB / 0.5237 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.879e-05/0.1374, allocations: 158.5 kB / 0.5239 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.1378, allocations: 425 kB / 0.5243 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.874e-05/0.1378, allocations: 169.1 kB / 0.5244 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.1379, allocations: 80.14 kB / 0.5245 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.1379, allocations: 79.28 kB / 0.5246 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.982e-05/0.138, allocations: 113.8 kB / 0.5247 GB, free: 14.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.138, allocations: 3.938 kB / 0.5247 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.533e-05/0.1381, allocations: 29.64 kB / 0.5247 GB, free: 14.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.1382, allocations: 182.1 kB / 0.5249 GB, free: 14.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/0.1383, allocations: 93.84 kB / 0.525 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1383, allocations: 25.7 kB / 0.525 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.1383, allocations: 80.14 kB / 0.5251 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.1383, allocations: 4.125 kB / 0.5251 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.1384, allocations: 17.72 kB / 0.5251 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1385, allocations: 310.8 kB / 0.5254 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-06/0.1385, allocations: 0 / 0.5254 GB, free: 13.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.814e-05/0.1386, allocations: 13.72 kB / 0.5254 GB, free: 13.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.1386, allocations: 75.28 kB / 0.5255 GB, free: 13.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.152e-05/0.1386, allocations: 75.28 kB / 0.5256 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.115e-05/0.1387, allocations: 45.59 kB / 0.5256 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/0.1388, allocations: 79.28 kB / 0.5257 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/0.1388, allocations: 75.28 kB / 0.5257 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.902e-05/0.1389, allocations: 154.5 kB / 0.5259 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.1389, allocations: 83.28 kB / 0.526 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.508e-05/0.139, allocations: 150.6 kB / 0.5261 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1391, allocations: 83.27 kB / 0.5262 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.1392, allocations: 79.28 kB / 0.5263 GB, free: 12.78 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001511/0.1393, allocations: 268.3 kB / 0.5265 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.1394, allocations: 104.9 kB / 0.5266 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.1394, allocations: 112 kB / 0.5267 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.2e-05/0.1395, allocations: 176.3 kB / 0.5269 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.267e-05/0.1396, allocations: 184.2 kB / 0.5271 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.583e-05/0.1397, allocations: 180.2 kB / 0.5272 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.1399, allocations: 380.2 kB / 0.5276 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.206e-05/0.14, allocations: 101 kB / 0.5277 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.14, allocations: 101 kB / 0.5278 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.882e-05/0.1401, allocations: 192.5 kB / 0.528 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/0.1402, allocations: 180.2 kB / 0.5282 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.429e-05/0.1403, allocations: 184.2 kB / 0.5283 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.819e-05/0.1404, allocations: 176.3 kB / 0.5285 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.1406, allocations: 319.7 kB / 0.5288 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1406, allocations: 116.9 kB / 0.5289 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.707e-05/0.1407, allocations: 184.2 kB / 0.5291 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/0.1408, allocations: 105 kB / 0.5292 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.1409, allocations: 188.2 kB / 0.5294 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.1409, allocations: 101 kB / 0.5295 GB, free: 9.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.131e-05/0.141, allocations: 79.28 kB / 0.5295 GB, free: 9.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.141, allocations: 0 / 0.5295 GB, free: 9.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1413, allocations: 7.938 kB / 0.5296 GB, free: 9.215 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004476/0.1417, allocations: 0.8047 MB / 0.5303 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.567e-05/0.1418, allocations: 4.094 kB / 0.5303 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1418, allocations: 0 / 0.5303 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1418, allocations: 0 / 0.5303 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.1422, allocations: 463.6 kB / 0.5308 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.1425, allocations: 181.8 kB / 0.531 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1429, allocations: 0.669 MB / 0.5316 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.286e-05/0.1429, allocations: 7.984 kB / 0.5316 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.1429, allocations: 7.438 kB / 0.5316 GB, free: 6.988 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1429, allocations: 0 / 0.5316 GB, free: 6.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.1683, allocations: 1.11 MB / 0.5327 GB, free: 5.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.63, allocations: 3.984 kB / 0.5327 GB, free: 5.84 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_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_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.758521488998667]