Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",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.001737/0.001737, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.002048/0.002048, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.42/1.42, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2377/0.2377, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 72.88 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.14, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003435/0.1435, allocations: 1.7 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1451, allocations: 0.873 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.1453, allocations: 0 / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.1456, allocations: 43.77 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.1458, allocations: 59.75 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1462, allocations: 107.6 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.1463, allocations: 95.7 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1465, allocations: 8.219 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.497e-05/0.1465, allocations: 43.8 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/0.1466, allocations: 31.84 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1467, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1468, allocations: 39.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.1468, allocations: 23.92 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.1469, allocations: 43.66 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1471, allocations: 111.9 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1471, allocations: 3.938 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1471, allocations: 0 / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1471, allocations: 4 kB / 472.6 MB, free: 11.05 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.0005684/0.1477, allocations: 418.9 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1478, allocations: 8.031 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.1478, allocations: 38.73 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.1479, allocations: 8.844 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1481, allocations: 210.7 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1481, allocations: 4.312 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1481, allocations: 11.92 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1483, allocations: 53.67 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1483, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1483, allocations: 4 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1484, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.1484, allocations: 19.98 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.1489, allocations: 288.8 kB / 473.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1491, allocations: 58.62 kB / 473.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.1491, allocations: 24.84 kB / 473.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1492, allocations: 4 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.1494, allocations: 63.39 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1494, allocations: 0 / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005665/0.15, allocations: 177.1 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.15, allocations: 55.41 kB / 474 MB, free: 9.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1502, allocations: 203.3 kB / 474.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1503, allocations: 25.7 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.1503, allocations: 108.1 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.1504, allocations: 19.7 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.1504, allocations: 21.72 kB / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1506, allocations: 326.8 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.1506, allocations: 23.92 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.1507, allocations: 37.7 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1508, allocations: 57.72 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1508, allocations: 0 / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.151, allocations: 109.5 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.151, allocations: 4 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1511, allocations: 4 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1511, allocations: 192 / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.1512, allocations: 19.94 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1512, allocations: 11.95 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.1512, allocations: 7.938 kB / 474.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1513, allocations: 4.375 kB / 474.9 MB, free: 8.414 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 0.0001028/0.1514, allocations: 136.5 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.1514, allocations: 11.91 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.1514, allocations: 13.41 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1515, allocations: 0 / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1515, allocations: 4 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.1515, allocations: 3.938 kB / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.1519, allocations: 399.3 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1519, allocations: 0 / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.1519, allocations: 8 kB / 475.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1519, allocations: 7.938 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.152, allocations: 0 / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.152, allocations: 0 / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.152, allocations: 0 / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.1522, allocations: 208.2 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.1522, allocations: 92.98 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.1523, allocations: 7.938 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.1523, allocations: 0 / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.1524, allocations: 11.98 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1524, allocations: 4 kB / 475.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1525, allocations: 155.9 kB / 476 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1525, allocations: 0 / 476 MB, free: 7.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1528, allocations: 20 kB / 476 MB, free: 7.25 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.001459/0.1543, allocations: 1.098 MB / 477.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1545, allocations: 67.89 kB / 477.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1545, allocations: 0 / 477.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.965e-05/0.1546, allocations: 23.98 kB / 477.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.155, allocations: 35.7 kB / 477.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.1567, allocations: 1.652 MB / 478.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.157, allocations: 0.7041 MB / 479.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.243e-05/0.1571, allocations: 8.891 kB / 479.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/0.1571, allocations: 39.36 kB / 479.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1572, allocations: 0 / 479.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.1777, allocations: 3.342 MB / 483 MB, free: 416 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/7.617, allocations: 11.94 kB / 483 MB, free: 404 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_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_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches