Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001097, allocations: 106.8 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 77.38 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1636, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.005018/0.1687, allocations: 1.793 MB / 481.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.1712, allocations: 1.002 MB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.1714, allocations: 0 / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.1719, allocations: 43.83 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005468/0.1725, allocations: 79.77 kB / 482.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1729, allocations: 63.86 kB / 482.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.1731, allocations: 107.6 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.1733, allocations: 11.97 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1734, allocations: 43.8 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1735, allocations: 27.8 kB / 482.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1736, allocations: 4 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1737, allocations: 51.97 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.1738, allocations: 23.86 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.998e-05/0.1739, allocations: 39.73 kB / 482.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.1743, allocations: 115.9 kB / 483 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.1743, allocations: 0 / 483 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1743, allocations: 0 / 483 MB, free: 2.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1743, allocations: 0 / 483 MB, free: 2.098 MB / 350.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.000764/0.1751, allocations: 418.9 kB / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.1751, allocations: 8.031 kB / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.1752, allocations: 34.75 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.1753, allocations: 12.84 kB / 483.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.1756, allocations: 222.5 kB / 483.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1757, allocations: 4.375 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.1757, allocations: 7.875 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1759, allocations: 53.67 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1759, allocations: 7.906 kB / 483.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1759, allocations: 3.984 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1759, allocations: 0 / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/0.176, allocations: 23.98 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.1766, allocations: 288.8 kB / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.1768, allocations: 54.69 kB / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.1768, allocations: 20.84 kB / 484.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.1769, allocations: 0 / 484.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.1771, allocations: 71.39 kB / 484.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.1771, allocations: 0 / 484.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006523/0.1778, allocations: 173.2 kB / 484.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.1778, allocations: 51.41 kB / 484.4 MB, free: 492 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1781, allocations: 202.7 kB / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1781, allocations: 29.64 kB / 484.6 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.1782, allocations: 104.1 kB / 484.8 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.1782, allocations: 19.72 kB / 484.8 MB, free: 116 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.1783, allocations: 25.7 kB / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1785, allocations: 326.8 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.1785, allocations: 19.98 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.446e-05/0.1786, allocations: 33.7 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1787, allocations: 61.72 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1787, allocations: 0 / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.1789, allocations: 105.4 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.179, allocations: 6.656 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.179, allocations: 4 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.179, allocations: 3.984 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.1791, allocations: 15.94 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1791, allocations: 3.984 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.365e-05/0.1792, allocations: 8.312 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1792, allocations: 8.031 kB / 485.4 MB, free: 15.47 MB / 366.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.0001854/0.1794, allocations: 121.8 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.1794, allocations: 15.83 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.1795, allocations: 17.41 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1795, allocations: 4 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1795, allocations: 192 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1795, allocations: 3.938 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.18, allocations: 411.3 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.18, allocations: 0 / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.18, allocations: 8 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.1801, allocations: 3.938 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1801, allocations: 4 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1801, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1801, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.1803, allocations: 212.2 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.1804, allocations: 88.92 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1804, allocations: 3.938 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.1805, allocations: 8 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.1806, allocations: 7.984 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1806, allocations: 4 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1807, allocations: 152.7 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1808, allocations: 0 / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.181, allocations: 20 kB / 486.4 MB, free: 14.3 MB / 366.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.001682/0.1827, allocations: 1.09 MB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1829, allocations: 67.91 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1829, allocations: 0 / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.025e-05/0.183, allocations: 27.98 kB / 487.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1834, allocations: 28.36 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1853, allocations: 1.67 MB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1857, allocations: 0.7158 MB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.959e-05/0.1857, allocations: 8.891 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.1858, allocations: 35.42 kB / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1858, allocations: 0 / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.2034, allocations: 3.281 MB / 493.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/0.2037, allocations: 242.1 kB / 493.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.103, allocations: 0 / 493.6 MB, free: 7.25 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches