Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_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.001256/0.001256, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001234/0.001234, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2011/0.2011, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 66.22 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.125, allocations: 60.81 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.00295/0.128, allocations: 1.708 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1294, allocations: 0.8769 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.1294, allocations: 0 / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1297, allocations: 35.77 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.1299, allocations: 55.77 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1302, allocations: 107.6 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.1303, allocations: 99.69 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1305, allocations: 8.234 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.1305, allocations: 39.78 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.1306, allocations: 35.84 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1306, allocations: 0 / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.98e-05/0.1307, allocations: 51.92 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.1308, allocations: 11.94 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.1308, allocations: 35.78 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.131, allocations: 103.9 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.131, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.131, allocations: 3.938 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1311, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.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.0004958/0.1316, allocations: 409.9 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1316, allocations: 8.031 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.1316, allocations: 34.75 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.1317, allocations: 12.84 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1319, allocations: 210.7 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1319, allocations: 3.984 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1319, allocations: 8 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1321, allocations: 49.67 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1321, allocations: 4 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1321, allocations: 0 / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1321, allocations: 0 / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.32e-05/0.1322, allocations: 23.92 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.1326, allocations: 292.8 kB / 473.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1328, allocations: 50.67 kB / 473.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.1328, allocations: 20.86 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1329, allocations: 3.984 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.1331, allocations: 71.33 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1331, allocations: 0 / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005595/0.1336, allocations: 165.4 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1337, allocations: 67.27 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1339, allocations: 154.3 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1339, allocations: 33.69 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.1339, allocations: 92.14 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.134, allocations: 31.64 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.134, allocations: 25.72 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1341, allocations: 322.8 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.702e-05/0.1342, allocations: 19.98 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/0.1343, allocations: 33.7 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1344, allocations: 61.66 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1344, allocations: 0 / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001878/0.1346, allocations: 102 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1346, allocations: 4 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.1346, allocations: 3.938 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1346, allocations: 0 / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1348, allocations: 28.11 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.1348, allocations: 0 / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.1348, allocations: 7.938 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.1348, allocations: 0 / 474.8 MB, free: 8.527 MB / 350.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 9.075e-05/0.1349, allocations: 125.9 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.135, allocations: 7.906 kB / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.135, allocations: 20.64 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.135, allocations: 0 / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.135, allocations: 4 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.135, allocations: 0 / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.1355, allocations: 391.3 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1355, allocations: 0 / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.1355, allocations: 8 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1355, allocations: 3.938 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1355, allocations: 3.984 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1355, allocations: 4 kB / 475.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1355, allocations: 3.938 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.1358, allocations: 216.4 kB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.1358, allocations: 81.02 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.1359, allocations: 8 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.878e-05/0.1359, allocations: 3.984 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.136, allocations: 4 kB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.136, allocations: 4 kB / 475.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.433e-05/0.1361, allocations: 124.8 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1361, allocations: 0 / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1364, allocations: 23.98 kB / 475.8 MB, free: 7.402 MB / 350.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.001421/0.1378, allocations: 1.094 MB / 476.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.138, allocations: 59.91 kB / 477 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.138, allocations: 3.938 kB / 477 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.1381, allocations: 35.92 kB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.1384, allocations: 35.42 kB / 477.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.1401, allocations: 1.57 MB / 478.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1404, allocations: 0.7002 MB / 479.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.308e-05/0.1405, allocations: 21.17 kB / 479.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.1405, allocations: 23.44 kB / 479.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1405, allocations: 4 kB / 479.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.1599, allocations: 3.189 MB / 482.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/7.984, allocations: 3.984 kB / 482.6 MB, free: 0.793 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches