Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 115.7 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 201.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, 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.2242/0.2242, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002926/0.002925, allocations: 78.19 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1631, allocations: 62.44 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00486/0.168, allocations: 1.797 MB / 481.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.1701, allocations: 1.013 MB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1703, allocations: 4 kB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.1707, allocations: 39.84 kB / 482.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000549/0.1713, allocations: 83.73 kB / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1717, allocations: 67.86 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.172, allocations: 107.6 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.1721, allocations: 15.98 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1722, allocations: 43.78 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1724, allocations: 31.8 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.1724, allocations: 4 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.1726, allocations: 43.98 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.756e-05/0.1726, allocations: 31.83 kB / 482.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.1727, allocations: 43.69 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.173, allocations: 123.9 kB / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.173, allocations: 0 / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1731, allocations: 0 / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.1731, allocations: 0 / 483 MB, free: 2.043 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.0007937/0.1739, allocations: 434.8 kB / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.1739, allocations: 8.031 kB / 483.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.174, allocations: 30.75 kB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.1741, allocations: 12.84 kB / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.1744, allocations: 225.5 kB / 483.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1745, allocations: 4.375 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.1745, allocations: 7.938 kB / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1747, allocations: 53.67 kB / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1747, allocations: 0 / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1747, allocations: 0 / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1747, allocations: 0 / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.521e-05/0.1748, allocations: 23.92 kB / 483.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.1753, allocations: 300.7 kB / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1755, allocations: 62.61 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.827e-05/0.1756, allocations: 16.86 kB / 484.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.1756, allocations: 0 / 484.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.1759, allocations: 67.39 kB / 484.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1759, allocations: 4 kB / 484.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006132/0.1765, allocations: 185.1 kB / 484.4 MB, free: 464 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1766, allocations: 51.41 kB / 484.5 MB, free: 400 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1768, allocations: 238.1 kB / 484.7 MB, free: 152 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.1769, allocations: 25.7 kB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/0.177, allocations: 108.1 kB / 484.9 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/0.177, allocations: 27.64 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.1771, allocations: 29.66 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1773, allocations: 326.8 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.15e-05/0.1774, allocations: 23.98 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.083e-05/0.1775, allocations: 33.7 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.1776, allocations: 61.7 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1776, allocations: 384 / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002202/0.1778, allocations: 109.5 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1778, allocations: 4 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.1779, allocations: 4 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1779, allocations: 4 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.178, allocations: 15.98 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.178, allocations: 3.938 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.1781, allocations: 7.938 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1781, allocations: 8 kB / 485.5 MB, free: 15.33 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.0001546/0.1783, allocations: 125.8 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.1783, allocations: 15.89 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.741e-05/0.1784, allocations: 25.39 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1784, allocations: 0 / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1784, allocations: 0 / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1784, allocations: 3.938 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.1789, allocations: 403.2 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1789, allocations: 0 / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.179, allocations: 8 kB / 486.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.179, allocations: 8.156 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.179, allocations: 4 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.179, allocations: 3.938 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.179, allocations: 0 / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.1793, allocations: 208.2 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.1794, allocations: 88.92 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.1794, allocations: 11.94 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.1795, allocations: 4 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.1795, allocations: 7.984 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1796, allocations: 4 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.1797, allocations: 176.4 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1797, allocations: 0 / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.18, allocations: 28 kB / 486.6 MB, free: 14.12 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.001669/0.1817, allocations: 1.085 MB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.1819, allocations: 71.89 kB / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1819, allocations: 0 / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.182, allocations: 27.98 kB / 487.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1824, allocations: 26.48 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1845, allocations: 1.755 MB / 489.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1848, allocations: 0.7156 MB / 490.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.476e-05/0.1849, allocations: 16.88 kB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.185, allocations: 43.42 kB / 490.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.185, allocations: 0 / 490.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.2014, allocations: 3.435 MB / 493.8 MB, free: 7.074 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003541/0.2018, allocations: 241.2 kB / 494 MB, free: 6.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.164, allocations: 0 / 494 MB, free: 6.816 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches