Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.001591, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001883/0.001883, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.4 MB / 254 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2441/0.2441, allocations: 46.92 MB / 357 MB, free: 10.22 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002866/0.002866, allocations: 83.88 kB / 0.491 GB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.172, allocations: 66.05 MB / 0.5555 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.004552/0.1766, allocations: 1.692 MB / 0.5572 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.1789, allocations: 1.018 MB / 0.5582 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.1791, allocations: 3.938 kB / 0.5582 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.1795, allocations: 55.81 kB / 0.5582 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.18, allocations: 103.5 kB / 0.5583 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.1803, allocations: 71.73 kB / 0.5584 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.1806, allocations: 99.69 kB / 0.5585 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.756e-05/0.1806, allocations: 240 / 0.5585 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1808, allocations: 47.78 kB / 0.5586 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1809, allocations: 35.78 kB / 0.5586 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1809, allocations: 4 kB / 0.5586 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.181, allocations: 31.92 kB / 0.5586 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.709e-05/0.1811, allocations: 27.92 kB / 0.5586 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.181e-05/0.1812, allocations: 43.66 kB / 0.5587 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.1815, allocations: 119.4 kB / 0.5588 GB, free: 2.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1815, allocations: 0 / 0.5588 GB, free: 2.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1815, allocations: 0 / 0.5588 GB, free: 2.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1815, allocations: 0 / 0.5588 GB, free: 2.117 MB / 414.1 MB 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.0007477/0.1823, allocations: 446.5 kB / 0.5592 GB, free: 1.633 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1823, allocations: 12.03 kB / 0.5592 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.1824, allocations: 34.75 kB / 0.5593 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.1824, allocations: 12.88 kB / 0.5593 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.1828, allocations: 228.9 kB / 0.5595 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1828, allocations: 384 / 0.5595 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.1829, allocations: 4.375 kB / 0.5595 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.183, allocations: 49.81 kB / 0.5596 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.183, allocations: 3.984 kB / 0.5596 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.183, allocations: 4 kB / 0.5596 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.183, allocations: 4 kB / 0.5596 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.864e-05/0.1831, allocations: 12 kB / 0.5596 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.1834, allocations: 189.7 kB / 0.5598 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1836, allocations: 58.55 kB / 0.5598 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.1836, allocations: 16.86 kB / 0.5598 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1837, allocations: 4 kB / 0.5598 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.1839, allocations: 63.33 kB / 0.5599 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.1839, allocations: 0 / 0.5599 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003467/0.1842, allocations: 109.5 kB / 0.56 GB, free: 0.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.1843, allocations: 55.34 kB / 0.5601 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.1846, allocations: 274.8 kB / 0.5603 GB, free: 368 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1846, allocations: 25.7 kB / 0.5603 GB, free: 336 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.1847, allocations: 120.1 kB / 0.5605 GB, free: 212 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.1847, allocations: 7.906 kB / 0.5605 GB, free: 204 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.1848, allocations: 21.7 kB / 0.5605 GB, free: 176 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.185, allocations: 330.8 kB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.1851, allocations: 12 kB / 0.5608 GB, free: 15.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.316e-05/0.1851, allocations: 25.7 kB / 0.5608 GB, free: 15.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1853, allocations: 53.58 kB / 0.5609 GB, free: 15.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1853, allocations: 4 kB / 0.5609 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001939/0.1854, allocations: 81.53 kB / 0.561 GB, free: 15.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1855, allocations: 8 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1855, allocations: 0 / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1855, allocations: 0 / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.1856, allocations: 15.92 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1856, allocations: 4 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.878e-05/0.1856, allocations: 15.92 kB / 0.561 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.1856, allocations: 4 kB / 0.561 GB, free: 15.6 MB / 430.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 (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.0001311/0.1858, allocations: 129.8 kB / 0.5611 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.1858, allocations: 19.84 kB / 0.5612 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.1859, allocations: 20.98 kB / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1859, allocations: 0 / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1859, allocations: 0 / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1859, allocations: 0 / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.1861, allocations: 193.6 kB / 0.5614 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1861, allocations: 3.938 kB / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.1861, allocations: 8 kB / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1861, allocations: 0 / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.1861, allocations: 8.297 kB / 0.5614 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1861, allocations: 4 kB / 0.5614 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.1861, allocations: 3.938 kB / 0.5614 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.1863, allocations: 109 kB / 0.5615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.1864, allocations: 96.94 kB / 0.5616 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1864, allocations: 4 kB / 0.5616 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.1865, allocations: 8 kB / 0.5616 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.1865, allocations: 3.984 kB / 0.5616 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1865, allocations: 4 kB / 0.5616 GB, free: 14.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.1867, allocations: 196.6 kB / 0.5618 GB, free: 14.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1867, allocations: 0 / 0.5618 GB, free: 14.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.1869, allocations: 20 kB / 0.5618 GB, free: 14.69 MB / 430.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.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.001999/0.1889, allocations: 0.966 MB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1891, allocations: 35.98 kB / 0.5628 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1891, allocations: 0 / 0.5628 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.435e-05/0.1892, allocations: 19.94 kB / 0.5628 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.1895, allocations: 27.97 kB / 0.5628 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.1915, allocations: 1.675 MB / 0.5645 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1918, allocations: 0.7158 MB / 0.5652 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.109e-05/0.1919, allocations: 16.53 kB / 0.5652 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.192, allocations: 39.42 kB / 0.5652 GB, free: 11.19 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.192, allocations: 0 / 0.5652 GB, free: 11.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.2206, allocations: 3.513 MB / 0.5687 GB, free: 7.738 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.049, allocations: 8 kB / 0.5687 GB, free: 7.73 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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: 11.339592618052848]