Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001734/0.001734, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002224/0.002224, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.515/1.515, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2349/0.2349, allocations: 46.92 MB / 357.4 MB, free: 10.46 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003676/0.003676, allocations: 83.88 kB / 0.4913 GB, free: 8.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.179, allocations: 65.99 MB / 0.5558 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003593/0.1826, allocations: 1.731 MB / 0.5575 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1846, allocations: 1.03 MB / 0.5585 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.434e-05/0.1847, allocations: 7.938 kB / 0.5585 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.185, allocations: 35.78 kB / 0.5585 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.1854, allocations: 95.59 kB / 0.5586 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1856, allocations: 71.67 kB / 0.5587 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.1859, allocations: 111.7 kB / 0.5588 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.186, allocations: 8 kB / 0.5588 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1861, allocations: 47.78 kB / 0.5588 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.057e-05/0.1862, allocations: 39.78 kB / 0.5589 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1862, allocations: 4 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1863, allocations: 47.92 kB / 0.5589 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.1863, allocations: 15.92 kB / 0.5589 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.1864, allocations: 35.73 kB / 0.559 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1866, allocations: 107.5 kB / 0.5591 GB, free: 2.703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1866, allocations: 0 / 0.5591 GB, free: 2.703 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1866, allocations: 0 / 0.5591 GB, free: 2.703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1866, allocations: 0 / 0.5591 GB, free: 2.703 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006782/0.1873, allocations: 422.7 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1874, allocations: 12.03 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.1874, allocations: 30.75 kB / 0.5595 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.1875, allocations: 8.891 kB / 0.5595 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.1878, allocations: 208.2 kB / 0.5597 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1878, allocations: 384 / 0.5597 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1879, allocations: 8.359 kB / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.188, allocations: 57.8 kB / 0.5598 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.188, allocations: 0 / 0.5598 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.188, allocations: 4 kB / 0.5598 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1881, allocations: 3.938 kB / 0.5598 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.861e-05/0.1881, allocations: 31.91 kB / 0.5598 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.1886, allocations: 288.8 kB / 0.5601 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1888, allocations: 46.69 kB / 0.5601 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.922e-05/0.1888, allocations: 24.84 kB / 0.5602 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.1889, allocations: 4 kB / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.189, allocations: 71.33 kB / 0.5602 GB, free: 1.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.189, allocations: 0 / 0.5602 GB, free: 1.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006304/0.1897, allocations: 173.4 kB / 0.5604 GB, free: 1.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.1897, allocations: 51.41 kB / 0.5605 GB, free: 1.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1899, allocations: 174.2 kB / 0.5606 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1899, allocations: 25.7 kB / 0.5606 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.19, allocations: 100.1 kB / 0.5607 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.1901, allocations: 27.78 kB / 0.5608 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.1901, allocations: 21.72 kB / 0.5608 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1903, allocations: 326.8 kB / 0.5611 GB, free: 404 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.1903, allocations: 23.98 kB / 0.5611 GB, free: 380 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.1904, allocations: 37.7 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.1905, allocations: 61.72 kB / 0.5612 GB, free: 268 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1906, allocations: 4.188 kB / 0.5612 GB, free: 264 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002078/0.1908, allocations: 105.5 kB / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1908, allocations: 7.938 kB / 0.5613 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1908, allocations: 0 / 0.5613 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.1908, allocations: 4 kB / 0.5613 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.1909, allocations: 12 kB / 0.5613 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1909, allocations: 4.031 kB / 0.5613 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.191, allocations: 7.984 kB / 0.5614 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.191, allocations: 4 kB / 0.5614 GB, free: 112 kB / 414.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.0001449/0.1911, allocations: 123.2 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.1911, allocations: 11.95 kB / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.1912, allocations: 16.7 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1912, allocations: 0 / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1912, allocations: 0 / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1912, allocations: 4 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.1917, allocations: 395.2 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1917, allocations: 7.938 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.1918, allocations: 11.92 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1918, allocations: 4 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1918, allocations: 0 / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1918, allocations: 3.938 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.1918, allocations: 4.375 kB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.1921, allocations: 196.4 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.1921, allocations: 89.02 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1921, allocations: 4 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.3e-05/0.1922, allocations: 15.92 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1923, allocations: 4 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1923, allocations: 4 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1924, allocations: 144.6 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1924, allocations: 0 / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1927, allocations: 23.94 kB / 0.5624 GB, free: 14.96 MB / 430.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.002352/0.195, allocations: 1.086 MB / 0.5634 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.1953, allocations: 59.84 kB / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1953, allocations: 0 / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.1953, allocations: 31.92 kB / 0.5635 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1957, allocations: 30.92 kB / 0.5636 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.1979, allocations: 1.602 MB / 0.5651 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.1983, allocations: 0.7002 MB / 0.5658 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.749e-05/0.1983, allocations: 25.17 kB / 0.5658 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.1984, allocations: 35.42 kB / 0.5659 GB, free: 11.43 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1984, allocations: 3.938 kB / 0.5659 GB, free: 11.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.2242, allocations: 3.351 MB / 0.5691 GB, free: 8.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.365, allocations: 4.062 kB / 0.5691 GB, free: 8.117 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.479144954588264]