Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 103.4 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 190.5 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2507/0.2507, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 68.3 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1355, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002846/0.1384, allocations: 1.689 MB / 442.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1395, allocations: 0.7961 MB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.1396, allocations: 4 kB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.1399, allocations: 39.77 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.1401, allocations: 51.77 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1404, allocations: 83.75 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.1405, allocations: 95.7 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.1406, allocations: 8.172 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.107e-05/0.1407, allocations: 47.78 kB / 443.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.1408, allocations: 31.78 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1408, allocations: 8 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.427e-05/0.1409, allocations: 39.98 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.1409, allocations: 11.94 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.141, allocations: 35.78 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1411, allocations: 107.7 kB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1412, allocations: 0 / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1412, allocations: 0 / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1412, allocations: 0 / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004698/0.1416, allocations: 403 kB / 444.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1417, allocations: 15.89 kB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.1417, allocations: 34.75 kB / 444.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.1418, allocations: 12.84 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.1419, allocations: 204.4 kB / 444.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.142, allocations: 0 / 444.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.142, allocations: 4 kB / 444.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1421, allocations: 53.67 kB / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.1421, allocations: 0 / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1422, allocations: 0 / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1422, allocations: 4 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.373e-05/0.1422, allocations: 31.86 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.1425, allocations: 280.9 kB / 444.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.1427, allocations: 58.67 kB / 444.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.1427, allocations: 20.8 kB / 444.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1428, allocations: 7.984 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.1429, allocations: 79.22 kB / 444.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1429, allocations: 0 / 444.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004762/0.1434, allocations: 165.3 kB / 445 MB, free: 2.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.1435, allocations: 59.34 kB / 445.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1436, allocations: 159 kB / 445.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.1436, allocations: 25.7 kB / 445.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.1436, allocations: 104.1 kB / 445.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1437, allocations: 27.64 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1437, allocations: 17.72 kB / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.637e-05/0.1438, allocations: 326.8 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.1438, allocations: 19.98 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.1439, allocations: 33.7 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.619e-05/0.144, allocations: 69.72 kB / 445.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.144, allocations: 0 / 445.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001437/0.1441, allocations: 101.5 kB / 445.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1441, allocations: 4 kB / 445.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1442, allocations: 7.938 kB / 445.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1442, allocations: 0 / 445.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.1443, allocations: 12 kB / 446 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1443, allocations: 3.984 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.1443, allocations: 12.03 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1443, allocations: 4 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.899e-05/0.1444, allocations: 121.3 kB / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.1444, allocations: 11.81 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.1445, allocations: 20.64 kB / 446.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1445, allocations: 4 kB / 446.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.1445, allocations: 0 / 446.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1445, allocations: 0 / 446.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.1448, allocations: 391.3 kB / 446.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1448, allocations: 0 / 446.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.1449, allocations: 12.31 kB / 446.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1449, allocations: 3.938 kB / 446.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1449, allocations: 11.98 kB / 446.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1449, allocations: 0 / 446.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1449, allocations: 192 / 446.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.1451, allocations: 208.2 kB / 446.7 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.1451, allocations: 88.95 kB / 446.8 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.1451, allocations: 0 / 446.8 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.1452, allocations: 8 kB / 446.8 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.1452, allocations: 7.984 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1453, allocations: 3.938 kB / 446.9 MB, free: 176 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.887e-05/0.1454, allocations: 127.9 kB / 447 MB, free: 48 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1454, allocations: 0 / 447 MB, free: 48 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1456, allocations: 31.98 kB / 447 MB, free: 16 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001435/0.147, allocations: 1.091 MB / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.1472, allocations: 67.89 kB / 448.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1473, allocations: 3.938 kB / 448.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/0.1473, allocations: 27.94 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1477, allocations: 26 kB / 448.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1493, allocations: 1.57 MB / 449.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1495, allocations: 0.7041 MB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.702e-05/0.1496, allocations: 8.891 kB / 450.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.1497, allocations: 31.61 kB / 450.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1497, allocations: 3.938 kB / 450.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.1719, allocations: 3.192 MB / 453.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/7.89, allocations: 0 / 453.7 MB, free: 9.223 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches