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.002069/0.002069, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002314/0.002314, allocations: 214.2 kB / 22.99 MB, free: 4.602 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.406/1.406, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2146/0.2146, allocations: 44.26 MB / 330.3 MB, free: 9.336 MB / 270.1 MB " [Timeout remaining time 180] 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.003546/0.003546, allocations: 74.7 kB / 467.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1146, allocations: 61.04 MB / 0.5161 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0016/0.1162, allocations: 0.4911 MB / 0.5166 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.1191, allocations: 1.987 MB / 0.5185 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.307e-05/0.1191, allocations: 0 / 0.5185 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.1191, allocations: 7.938 kB / 0.5186 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.402e-05/0.1192, allocations: 0 / 0.5186 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1202, allocations: 374.8 kB / 0.5189 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.748e-05/0.1202, allocations: 8 kB / 0.5189 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.1203, allocations: 0 / 0.5189 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.98e-05/0.1203, allocations: 7.938 kB / 0.5189 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02083/0.1411, allocations: 3.389 MB / 0.5222 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1411, allocations: 0 / 0.5222 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-05/0.1412, allocations: 4 kB / 0.5222 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.1412, allocations: 4 kB / 0.5222 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.1412, allocations: 4 kB / 0.5222 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.1413, allocations: 15.98 kB / 0.5223 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1414, allocations: 0 / 0.5223 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1414, allocations: 0 / 0.5223 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1414, allocations: 0 / 0.5223 GB, free: 0.9648 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.0002828/0.1416, allocations: 242.4 kB / 0.5225 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1417, allocations: 15.97 kB / 0.5225 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.304e-05/0.1418, allocations: 106 kB / 0.5226 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.142, allocations: 84.2 kB / 0.5227 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1421, allocations: 181.8 kB / 0.5229 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.1422, allocations: 150.9 kB / 0.523 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-05/0.1423, allocations: 158.5 kB / 0.5232 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.878e-05/0.1423, allocations: 108.9 kB / 0.5233 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.1424, allocations: 75.28 kB / 0.5233 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.1425, allocations: 154.6 kB / 0.5235 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.899e-05/0.1425, allocations: 150.6 kB / 0.5236 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.89e-05/0.1426, allocations: 150.6 kB / 0.5238 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.1429, allocations: 421 kB / 0.5242 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.143, allocations: 181 kB / 0.5243 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.1431, allocations: 80.14 kB / 0.5244 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.1431, allocations: 75.28 kB / 0.5245 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.1432, allocations: 109.8 kB / 0.5246 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.1432, allocations: 0 / 0.5246 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.968e-05/0.1432, allocations: 33.64 kB / 0.5246 GB, free: 14.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.1433, allocations: 178.1 kB / 0.5248 GB, free: 14.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1434, allocations: 97.84 kB / 0.5249 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1435, allocations: 29.7 kB / 0.5249 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.1435, allocations: 80.14 kB / 0.525 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.1435, allocations: 0 / 0.525 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.1435, allocations: 13.72 kB / 0.525 GB, free: 13.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1437, allocations: 314.8 kB / 0.5253 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-06/0.1437, allocations: 128 / 0.5253 GB, free: 13.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.1437, allocations: 65.12 kB / 0.5254 GB, free: 13.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/0.1438, allocations: 79.28 kB / 0.5254 GB, free: 13.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.418e-05/0.1438, allocations: 79.28 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.613e-05/0.1439, allocations: 37.62 kB / 0.5256 GB, free: 13.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.1439, allocations: 79.28 kB / 0.5256 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.515e-05/0.1439, allocations: 79.22 kB / 0.5257 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.311e-05/0.144, allocations: 154.6 kB / 0.5259 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.056e-05/0.144, allocations: 75.28 kB / 0.5259 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.75e-05/0.1441, allocations: 154.5 kB / 0.5261 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.349e-05/0.1442, allocations: 83.33 kB / 0.5262 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.1442, allocations: 87.19 kB / 0.5262 GB, free: 12.65 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.000151/0.1444, allocations: 272.3 kB / 0.5265 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.1445, allocations: 101 kB / 0.5266 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.1445, allocations: 104 kB / 0.5267 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.683e-05/0.1446, allocations: 184.2 kB / 0.5269 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.79e-05/0.1447, allocations: 176.3 kB / 0.527 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.031e-05/0.1447, allocations: 188.2 kB / 0.5272 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.145, allocations: 372.2 kB / 0.5276 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.566e-05/0.145, allocations: 101 kB / 0.5277 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.1451, allocations: 109.2 kB / 0.5278 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.04e-05/0.1452, allocations: 192.2 kB / 0.528 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.957e-05/0.1452, allocations: 180.2 kB / 0.5281 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.846e-05/0.1453, allocations: 184.3 kB / 0.5283 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.422e-05/0.1454, allocations: 180.2 kB / 0.5285 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.1455, allocations: 307.8 kB / 0.5288 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.1456, allocations: 116.9 kB / 0.5289 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.14e-05/0.1457, allocations: 176.3 kB / 0.5291 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.831e-05/0.1458, allocations: 108.9 kB / 0.5292 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.1459, allocations: 176.3 kB / 0.5293 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.1459, allocations: 109 kB / 0.5294 GB, free: 9.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.651e-05/0.146, allocations: 83.28 kB / 0.5295 GB, free: 9.105 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.146, allocations: 0 / 0.5295 GB, free: 9.105 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1462, allocations: 0 / 0.5295 GB, free: 9.105 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.0004369/0.1467, allocations: 0.8047 MB / 0.5303 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 3.867e-05/0.1467, allocations: 7.984 kB / 0.5303 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1467, allocations: 0 / 0.5303 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.1467, allocations: 0 / 0.5303 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1471, allocations: 463.5 kB / 0.5307 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.1475, allocations: 185.8 kB / 0.5309 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.204e-05/0.1475, allocations: 55.45 kB / 0.531 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.105e-05/0.1475, allocations: 4 kB / 0.531 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.1475, allocations: 7.438 kB / 0.531 GB, free: 7.496 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1475, allocations: 0 / 0.531 GB, free: 7.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.173, allocations: 1.545 MB / 0.5325 GB, free: 5.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.9, allocations: 11.92 kB / 0.5325 GB, free: 5.898 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.914504155982286]