Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 109.3 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 194 kB / 18.12 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2123/0.2123, allocations: 44.17 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 65.31 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1685, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.004706/0.1732, allocations: 1.765 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1753, allocations: 0.8576 MB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1755, allocations: 4 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.1759, allocations: 39.83 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.1762, allocations: 35.84 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.1767, allocations: 103.1 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.1769, allocations: 91.69 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.1772, allocations: 8.234 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1773, allocations: 47.67 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1774, allocations: 27.84 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1775, allocations: 4 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1777, allocations: 39.98 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.1777, allocations: 15.92 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.1778, allocations: 31.78 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1781, allocations: 103.9 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1781, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1781, allocations: 0 / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1781, allocations: 0 / 471.8 MB, free: 11.57 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.0006715/0.1788, allocations: 419 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1788, allocations: 8.031 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.1789, allocations: 34.75 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.1789, allocations: 8.844 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.1792, allocations: 204.5 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1793, allocations: 4 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.1793, allocations: 0 / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1795, allocations: 57.61 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1795, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1795, allocations: 4 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1795, allocations: 7.938 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.035e-05/0.1796, allocations: 15.98 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.1801, allocations: 284.8 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1803, allocations: 62.61 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.1803, allocations: 20.86 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1804, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.1806, allocations: 67.39 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1806, allocations: 0 / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006237/0.1812, allocations: 169.3 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.1813, allocations: 55.34 kB / 473.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1815, allocations: 171.8 kB / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1815, allocations: 25.7 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.1816, allocations: 100.1 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.1816, allocations: 23.66 kB / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.1817, allocations: 25.7 kB / 473.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1818, allocations: 318.8 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.1819, allocations: 20 kB / 473.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.182, allocations: 41.58 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1821, allocations: 65.78 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1822, allocations: 384 / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000223/0.1824, allocations: 97.52 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.1824, allocations: 11.98 kB / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1824, allocations: 3.938 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1825, allocations: 0 / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1826, allocations: 16 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.1826, allocations: 8.031 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.1827, allocations: 4 kB / 474.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.1827, allocations: 7.984 kB / 474.1 MB, free: 9.012 MB / 350.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.0001356/0.1828, allocations: 117.8 kB / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.1829, allocations: 11.91 kB / 474.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.1829, allocations: 20.64 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1829, allocations: 3.984 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.183, allocations: 0 / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.183, allocations: 0 / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.1835, allocations: 395.3 kB / 474.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1835, allocations: 0 / 474.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.1836, allocations: 11.94 kB / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.1836, allocations: 4 kB / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1836, allocations: 0 / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1836, allocations: 0 / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1836, allocations: 0 / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.1839, allocations: 220.1 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.184, allocations: 85.02 kB / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.184, allocations: 0 / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.1841, allocations: 4 kB / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.1842, allocations: 11.98 kB / 475 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1842, allocations: 4 kB / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1843, allocations: 121.3 kB / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1843, allocations: 4 kB / 475.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.1846, allocations: 24 kB / 475.1 MB, free: 7.887 MB / 350.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.001705/0.1863, allocations: 1.096 MB / 476.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1865, allocations: 63.91 kB / 476.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1866, allocations: 0 / 476.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.874e-05/0.1866, allocations: 31.91 kB / 476.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.187, allocations: 32.09 kB / 476.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.189, allocations: 1.579 MB / 477.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1893, allocations: 0.6926 MB / 478.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.8e-05/0.1894, allocations: 20.88 kB / 478.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.1894, allocations: 35.36 kB / 478.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1894, allocations: 0 / 478.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.2044, allocations: 3.017 MB / 481.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/0.2047, allocations: 233 kB / 481.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.098, allocations: 3.938 kB / 481.9 MB, free: 1.203 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches