Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.0008396/0.0008396, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009074/0.0009074, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8968/0.8968, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.2624/0.2624, allocations: 34.25 MB / 294.8 MB, free: 0.6758 MB / 266.7 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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.631e-05, allocations: 5.094 kB / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.1827/0.1827, allocations: 1.711 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1842, allocations: 1.673 MB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.1843, allocations: 0 / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.1845, allocations: 44 kB / 445.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.1848, allocations: 98.91 kB / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.1849, allocations: 82.88 kB / 445.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.1851, allocations: 106.8 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.1852, allocations: 12.97 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.378e-05/0.1852, allocations: 56.52 kB / 446 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.1853, allocations: 33.81 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1853, allocations: 5.938 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1855, allocations: 107.3 kB / 446.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.1855, allocations: 27.02 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.1855, allocations: 19.55 kB / 446.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1857, allocations: 183 kB / 446.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1857, allocations: 0 / 446.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1857, allocations: 0 / 446.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1857, allocations: 0 / 446.4 MB, free: 42.51 MB / 410.7 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.0003675/0.1861, allocations: 353.7 kB / 446.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.1861, allocations: 11.59 kB / 446.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.11e-05/0.1862, allocations: 36.67 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.1862, allocations: 14.66 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.1864, allocations: 146.2 kB / 446.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1864, allocations: 384 / 446.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.1864, allocations: 3.406 kB / 446.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1865, allocations: 105.7 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1865, allocations: 6.75 kB / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1866, allocations: 0 / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1866, allocations: 0 / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.571e-05/0.1866, allocations: 18.5 kB / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.1868, allocations: 256 kB / 447.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.187, allocations: 63.23 kB / 447.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.187, allocations: 20.3 kB / 447.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.187, allocations: 6.562 kB / 447.4 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.1871, allocations: 68.67 kB / 447.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.1871, allocations: 0.625 kB / 447.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003711/0.1875, allocations: 178.9 kB / 447.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.1875, allocations: 84.08 kB / 447.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.1876, allocations: 163.2 kB / 447.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.1876, allocations: 29.7 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.1876, allocations: 100.3 kB / 448 MB, free: 41.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.1876, allocations: 18.36 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.1877, allocations: 29.28 kB / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.855e-05/0.1877, allocations: 325.1 kB / 448.4 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.254e-05/0.1877, allocations: 21.78 kB / 448.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.1878, allocations: 78.42 kB / 448.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.1878, allocations: 55.95 kB / 448.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1878, allocations: 3.812 kB / 448.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001088/0.1879, allocations: 110.3 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.188, allocations: 5.375 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.188, allocations: 0 / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.188, allocations: 0 / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.188, allocations: 20.67 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.188, allocations: 2.625 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.1881, allocations: 6.688 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1881, allocations: 7.625 kB / 448.7 MB, free: 40.56 MB / 410.7 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 4.963e-05/0.1881, allocations: 127.9 kB / 448.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.1882, allocations: 9.797 kB / 448.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.1883, allocations: 122.1 kB / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1883, allocations: 0 / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1883, allocations: 0 / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1883, allocations: 0 / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.1886, allocations: 382.2 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1886, allocations: 0 / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.1886, allocations: 8.75 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1886, allocations: 2.938 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1886, allocations: 2.719 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1886, allocations: 3.234 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1886, allocations: 6.844 kB / 449.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.1887, allocations: 210.5 kB / 449.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.1887, allocations: 13.31 kB / 449.6 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1887, allocations: 6.844 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.43e-05/0.1888, allocations: 2.875 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.1888, allocations: 14.06 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1888, allocations: 6.266 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.514e-05/0.1889, allocations: 130.4 kB / 449.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1889, allocations: 0 / 449.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.1891, allocations: 51.38 kB / 449.8 MB, free: 39.75 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.001008/0.1901, allocations: 1.234 MB / 451 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.1902, allocations: 56.78 kB / 451.1 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1902, allocations: 0 / 451.1 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.1902, allocations: 27.78 kB / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1905, allocations: 39.75 kB / 451.1 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.1914, allocations: 1.61 MB / 452.7 MB, free: 37.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.244e-05/0.1914, allocations: 86.7 kB / 452.8 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.725e-05/0.1915, allocations: 20.03 kB / 452.8 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.1915, allocations: 36.11 kB / 452.9 MB, free: 37.43 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1915, allocations: 6.781 kB / 452.9 MB, free: 37.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.2091, allocations: 4.906 MB / 457.8 MB, free: 35.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.803/7.012, allocations: 6.594 kB / 457.8 MB, free: 35.85 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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: 9.013548211194575]