Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.0008144/0.0008144, 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.0008867/0.0008867, 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.8668/0.8668, allocations: 177 MB / 204.1 MB, free: 5.75 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.2316/0.2316, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.997e-05, allocations: 2.281 kB / 442.3 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.169/0.169, allocations: 1.87 MB / 444.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1701, allocations: 1.075 MB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.1702, allocations: 3.25 kB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1705, allocations: 162.7 kB / 445.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.1707, allocations: 191.7 kB / 445.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.1709, allocations: 110.6 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.1711, allocations: 258.9 kB / 445.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.1712, allocations: 21.27 kB / 445.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1713, allocations: 139.2 kB / 446.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1715, allocations: 124.9 kB / 446.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1715, allocations: 8.219 kB / 446.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.014e-05/0.1716, allocations: 66.75 kB / 446.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.1716, allocations: 58.39 kB / 446.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.1717, allocations: 45.98 kB / 446.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1719, allocations: 224.8 kB / 446.6 MB, free: 42.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1719, allocations: 3.75 kB / 446.6 MB, free: 42.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1719, allocations: 0 / 446.6 MB, free: 42.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1719, allocations: 0 / 446.6 MB, free: 42.65 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.0004762/0.1724, allocations: 481.2 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1724, allocations: 9.25 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.67e-05/0.1724, allocations: 40.72 kB / 447.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.1725, allocations: 28.94 kB / 447.1 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.1727, allocations: 212.1 kB / 447.3 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1728, allocations: 6.125 kB / 447.3 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.1728, allocations: 10.36 kB / 447.4 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1729, allocations: 113.5 kB / 447.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.173, allocations: 192 / 447.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.173, allocations: 10.88 kB / 447.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.173, allocations: 0.9375 kB / 447.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.1731, allocations: 52.56 kB / 447.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1734, allocations: 440.9 kB / 448 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.1737, allocations: 125 kB / 448.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.1737, allocations: 41.55 kB / 448.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1737, allocations: 0.7969 kB / 448.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.1739, allocations: 127.6 kB / 448.2 MB, free: 41.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1739, allocations: 0 / 448.2 MB, free: 41.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007826/0.1747, allocations: 0.5008 MB / 448.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.1747, allocations: 85.3 kB / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.1749, allocations: 386.2 kB / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1749, allocations: 36.48 kB / 449.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.175, allocations: 142.4 kB / 449.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.175, allocations: 74.09 kB / 449.5 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.175, allocations: 41.92 kB / 449.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.763e-05/0.1751, allocations: 345.1 kB / 449.8 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.1751, allocations: 55.14 kB / 449.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.1752, allocations: 97.59 kB / 450 MB, free: 40.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.1754, allocations: 166.6 kB / 450.1 MB, free: 40.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1754, allocations: 0.8438 kB / 450.1 MB, free: 40.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002131/0.1756, allocations: 246.2 kB / 450.4 MB, free: 40.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1756, allocations: 5.562 kB / 450.4 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1756, allocations: 0 / 450.4 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1756, allocations: 3 kB / 450.4 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.1757, allocations: 47.39 kB / 450.4 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1757, allocations: 6.875 kB / 450.4 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.1758, allocations: 10.84 kB / 450.5 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.1758, allocations: 9.594 kB / 450.5 MB, free: 40.06 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 7.92e-05/0.1758, allocations: 162 kB / 450.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.1759, allocations: 29.81 kB / 450.7 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.1762, allocations: 277.5 kB / 450.9 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1762, allocations: 2.75 kB / 450.9 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1762, allocations: 6.531 kB / 450.9 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1762, allocations: 3.234 kB / 450.9 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.1767, allocations: 0.6978 MB / 451.6 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1767, allocations: 0 / 451.6 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.1767, allocations: 33.45 kB / 451.7 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1767, allocations: 2.469 kB / 451.7 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1767, allocations: 9.344 kB / 451.7 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1767, allocations: 2.438 kB / 451.7 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1767, allocations: 6.781 kB / 451.7 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.177, allocations: 434.9 kB / 452.1 MB, free: 38.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.177, allocations: 28.44 kB / 452.1 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.177, allocations: 9.844 kB / 452.2 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.1771, allocations: 10.14 kB / 452.2 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.1771, allocations: 22.8 kB / 452.2 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.1772, allocations: 21.58 kB / 452.2 MB, free: 38.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.1773, allocations: 280 kB / 452.5 MB, free: 38.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1773, allocations: 0 / 452.5 MB, free: 38.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.1775, allocations: 53.02 kB / 452.5 MB, free: 38.79 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.001138/0.1787, allocations: 1.409 MB / 453.9 MB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.1789, allocations: 158.6 kB / 454.1 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1789, allocations: 0 / 454.1 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.179, allocations: 85.94 kB / 454.2 MB, free: 37.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1793, allocations: 66.36 kB / 454.2 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.181, allocations: 2.743 MB / 457 MB, free: 35.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.241e-05/0.1811, allocations: 153.3 kB / 457.1 MB, free: 35.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.638e-05/0.1812, allocations: 43.12 kB / 457.2 MB, free: 35.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.1813, allocations: 94.47 kB / 457.3 MB, free: 35.71 MB / 410.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1813, allocations: 0 / 457.3 MB, free: 35.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.197, allocations: 7.058 MB / 464.3 MB, free: 33.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/6.925, allocations: 3.938 kB / 464.3 MB, free: 33.97 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.818826942704618]