Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",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.001595/0.001595, allocations: 113.3 kB / 17.07 MB, free: 5.996 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.001812/0.001812, allocations: 196 kB / 18.01 MB, free: 5.074 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9777/0.9777, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 65.84 kB / 0.5704 GB, free: 40.04 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 80.69 MB / 0.6492 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003099/0.1679, allocations: 1.554 MB / 0.6507 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.1694, allocations: 0.8847 MB / 0.6516 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.1695, allocations: 3.938 kB / 0.6516 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.1699, allocations: 63.72 kB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.1703, allocations: 103.6 kB / 0.6517 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.1707, allocations: 103.6 kB / 0.6518 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.171, allocations: 131.6 kB / 0.652 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.535e-05/0.171, allocations: 19.98 kB / 0.652 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1712, allocations: 63.77 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1714, allocations: 59.69 kB / 0.6521 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.1714, allocations: 4 kB / 0.6521 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1715, allocations: 31.98 kB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.1717, allocations: 71.81 kB / 0.6522 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.572e-05/0.1717, allocations: 55.55 kB / 0.6523 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.172, allocations: 163.4 kB / 0.6524 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.172, allocations: 0 / 0.6524 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.033e-06/0.1721, allocations: 0 / 0.6524 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.1721, allocations: 0 / 0.6524 GB, free: 10.28 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007249/0.1728, allocations: 0.4902 MB / 0.6529 GB, free: 9.742 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.1729, allocations: 11.89 kB / 0.6529 GB, free: 9.73 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.1729, allocations: 30.75 kB / 0.6529 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.173, allocations: 24.8 kB / 0.653 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.1736, allocations: 339.6 kB / 0.6533 GB, free: 9.297 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1736, allocations: 384 / 0.6533 GB, free: 9.297 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.1736, allocations: 11.88 kB / 0.6533 GB, free: 9.285 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1738, allocations: 61.61 kB / 0.6534 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1738, allocations: 3.984 kB / 0.6534 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1738, allocations: 0 / 0.6534 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1738, allocations: 4 kB / 0.6534 GB, free: 9.211 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.134e-05/0.1739, allocations: 12 kB / 0.6534 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.1741, allocations: 213.6 kB / 0.6536 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.1743, allocations: 54.55 kB / 0.6536 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.1744, allocations: 16.86 kB / 0.6536 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1744, allocations: 3.938 kB / 0.6537 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.1746, allocations: 71.39 kB / 0.6537 GB, free: 8.773 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.1746, allocations: 0 / 0.6537 GB, free: 8.773 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0003062/0.1749, allocations: 105.5 kB / 0.6538 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1749, allocations: 55.41 kB / 0.6539 GB, free: 8.598 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1752, allocations: 274.7 kB / 0.6541 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1752, allocations: 25.7 kB / 0.6542 GB, free: 8.285 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.841e-05/0.1753, allocations: 144 kB / 0.6543 GB, free: 8.141 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1754, allocations: 7.953 kB / 0.6543 GB, free: 8.133 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.1754, allocations: 25.72 kB / 0.6543 GB, free: 8.102 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1756, allocations: 330.8 kB / 0.6546 GB, free: 7.77 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.1756, allocations: 12 kB / 0.6547 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.1757, allocations: 33.69 kB / 0.6547 GB, free: 7.719 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/0.1758, allocations: 41.7 kB / 0.6547 GB, free: 7.672 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1758, allocations: 7.938 kB / 0.6547 GB, free: 7.664 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001774/0.176, allocations: 97.73 kB / 0.6548 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.176, allocations: 6.656 kB / 0.6548 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.176, allocations: 0 / 0.6548 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.176, allocations: 4 kB / 0.6548 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.932e-05/0.1761, allocations: 15.98 kB / 0.6549 GB, free: 7.539 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1761, allocations: 0 / 0.6549 GB, free: 7.539 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.904e-05/0.1762, allocations: 15.89 kB / 0.6549 GB, free: 7.523 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.1762, allocations: 0 / 0.6549 GB, free: 7.523 MB / 0.4983 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000145/0.1764, allocations: 153.7 kB / 0.655 GB, free: 7.363 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.1764, allocations: 23.86 kB / 0.655 GB, free: 7.34 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.1765, allocations: 25.3 kB / 0.6551 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1765, allocations: 3.938 kB / 0.6551 GB, free: 7.309 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1765, allocations: 0 / 0.6551 GB, free: 7.309 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1765, allocations: 0 / 0.6551 GB, free: 7.309 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.1767, allocations: 217.5 kB / 0.6553 GB, free: 7.047 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1767, allocations: 0 / 0.6553 GB, free: 7.047 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.1767, allocations: 4 kB / 0.6553 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1767, allocations: 0 / 0.6553 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1767, allocations: 4 kB / 0.6553 GB, free: 7.039 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1768, allocations: 3.984 kB / 0.6553 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1768, allocations: 0 / 0.6553 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.177, allocations: 120.9 kB / 0.6554 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.1771, allocations: 100.9 kB / 0.6555 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1771, allocations: 0 / 0.6555 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.1771, allocations: 8 kB / 0.6555 GB, free: 6.773 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1772, allocations: 7.984 kB / 0.6555 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1772, allocations: 4 kB / 0.6555 GB, free: 6.762 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001939/0.1774, allocations: 205.9 kB / 0.6557 GB, free: 6.562 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1774, allocations: 0 / 0.6557 GB, free: 6.562 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002282/0.1776, allocations: 23.94 kB / 0.6557 GB, free: 6.539 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001318/0.179, allocations: 0.9649 MB / 0.6567 GB, free: 5.707 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.1791, allocations: 47.91 kB / 0.6567 GB, free: 5.66 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1792, allocations: 0 / 0.6567 GB, free: 5.66 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.143e-05/0.1792, allocations: 20 kB / 0.6567 GB, free: 5.641 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.1795, allocations: 45.67 kB / 0.6568 GB, free: 5.602 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.1816, allocations: 1.984 MB / 0.6587 GB, free: 3.52 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1819, allocations: 0.7358 MB / 0.6594 GB, free: 2.758 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.1821, allocations: 33.52 kB / 0.6595 GB, free: 2.727 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.764e-05/0.1822, allocations: 67.42 kB / 0.6595 GB, free: 2.66 MB / 0.4983 GB Notification: Performance of SimCode: time 3.8e-07/0.1822, allocations: 0 / 0.6595 GB, free: 2.66 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.206, allocations: 4.338 MB / 0.6638 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.422, allocations: 7.875 kB / 0.6638 GB, free: 14.45 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches