Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.0007806/0.0007806, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.000792/0.000792, 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.8875/0.8875, allocations: 177 MB / 204.1 MB, free: 5.754 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.2636/0.2636, allocations: 34.23 MB / 294.8 MB, free: 0.6875 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.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 442.3 MB, free: 1.461 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.09e-05, allocations: 2.281 kB / 442.3 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.1738/0.1738, allocations: 1.872 MB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1751, allocations: 1.077 MB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.1752, allocations: 9.812 kB / 445.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.1755, allocations: 154 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.1758, allocations: 192.3 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.176, allocations: 115.4 kB / 445.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.1762, allocations: 253.1 kB / 445.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1763, allocations: 17.38 kB / 445.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1765, allocations: 140.3 kB / 446.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.1766, allocations: 125.2 kB / 446.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.1766, allocations: 8.625 kB / 446.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.1767, allocations: 66.16 kB / 446.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.1768, allocations: 57.05 kB / 446.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.1768, allocations: 51.11 kB / 446.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.177, allocations: 222.6 kB / 446.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.177, allocations: 0 / 446.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.177, allocations: 0 / 446.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.177, allocations: 0 / 446.6 MB, free: 42.62 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004588/0.1775, allocations: 482.6 kB / 447.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1775, allocations: 11.75 kB / 447.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.464e-05/0.1776, allocations: 34.56 kB / 447.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.1776, allocations: 42.47 kB / 447.1 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1779, allocations: 205.8 kB / 447.3 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1779, allocations: 6.484 kB / 447.3 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1779, allocations: 9.812 kB / 447.4 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1781, allocations: 113.1 kB / 447.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1781, allocations: 192 / 447.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1781, allocations: 14.72 kB / 447.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1781, allocations: 0 / 447.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.398e-05/0.1782, allocations: 52.23 kB / 447.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.1785, allocations: 435.2 kB / 448 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.1788, allocations: 124.9 kB / 448.1 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.1788, allocations: 47.12 kB / 448.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.1788, allocations: 3.938 kB / 448.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.179, allocations: 115.2 kB / 448.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.179, allocations: 0 / 448.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007705/0.1798, allocations: 0.5098 MB / 448.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.1798, allocations: 83.98 kB / 448.8 MB, free: 41.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.18, allocations: 390.6 kB / 449.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.18, allocations: 32.64 kB / 449.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.1801, allocations: 145.8 kB / 449.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.1801, allocations: 69.66 kB / 449.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.1801, allocations: 43.58 kB / 449.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.801e-05/0.1802, allocations: 342.2 kB / 449.8 MB, free: 40.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.1803, allocations: 58.55 kB / 449.9 MB, free: 40.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.1803, allocations: 94.45 kB / 450 MB, free: 40.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.1805, allocations: 167.8 kB / 450.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1805, allocations: 0 / 450.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002223/0.1807, allocations: 241.2 kB / 450.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1807, allocations: 5.469 kB / 450.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1807, allocations: 0 / 450.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1807, allocations: 10.22 kB / 450.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.1808, allocations: 50.44 kB / 450.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1808, allocations: 6.875 kB / 450.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.1809, allocations: 16.73 kB / 450.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1809, allocations: 5.719 kB / 450.5 MB, free: 40.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.301e-05/0.181, allocations: 157.6 kB / 450.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.181, allocations: 30.25 kB / 450.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.1813, allocations: 274.7 kB / 450.9 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1813, allocations: 3.094 kB / 450.9 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1813, allocations: 7.938 kB / 450.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1813, allocations: 3.281 kB / 450.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.1818, allocations: 0.6937 MB / 451.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1818, allocations: 3 kB / 451.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.1819, allocations: 28.42 kB / 451.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1819, allocations: 2.906 kB / 451.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1819, allocations: 10.44 kB / 451.7 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1819, allocations: 7.188 kB / 451.7 MB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1819, allocations: 6.938 kB / 451.7 MB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.1821, allocations: 433.2 kB / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.1821, allocations: 24.38 kB / 452.1 MB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1822, allocations: 10.23 kB / 452.2 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.771e-05/0.1822, allocations: 5.75 kB / 452.2 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.1823, allocations: 30.31 kB / 452.2 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1823, allocations: 15.5 kB / 452.2 MB, free: 38.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001484/0.1824, allocations: 284.5 kB / 452.5 MB, free: 38.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1824, allocations: 4 kB / 452.5 MB, free: 38.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000237/0.1827, allocations: 51.78 kB / 452.5 MB, free: 38.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001329/0.184, allocations: 1.407 MB / 453.9 MB, free: 37.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.1842, allocations: 157.1 kB / 454.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1842, allocations: 3.031 kB / 454.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.1843, allocations: 82.05 kB / 454.2 MB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1847, allocations: 63.16 kB / 454.2 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.1865, allocations: 2.745 MB / 457 MB, free: 35.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.029e-05/0.1866, allocations: 158 kB / 457.1 MB, free: 35.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.633e-05/0.1866, allocations: 43.41 kB / 457.2 MB, free: 35.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.1867, allocations: 87.69 kB / 457.3 MB, free: 35.67 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1867, allocations: 0 / 457.3 MB, free: 35.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.2052, allocations: 7.06 MB / 464.3 MB, free: 33.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/6.955, allocations: 3.938 kB / 464.3 MB, free: 33.94 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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: 8.940839326940477]