Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",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.001143/0.001143, allocations: 116.7 kB / 17.33 MB, free: 5.996 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.001181/0.001181, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.45/1.45, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2547/0.2547, allocations: 44.18 MB / 336.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 64.88 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1679, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004701/0.1727, allocations: 1.757 MB / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1748, allocations: 0.8653 MB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.175, allocations: 3.938 kB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005262/0.1755, allocations: 31.89 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.1759, allocations: 43.83 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.1764, allocations: 103.5 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.1767, allocations: 91.69 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.1768, allocations: 20.22 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.177, allocations: 39.8 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1771, allocations: 35.83 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.1772, allocations: 4 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.1773, allocations: 43.98 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.1774, allocations: 15.88 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.1775, allocations: 35.78 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.1778, allocations: 107.9 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1778, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1778, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1778, allocations: 0 / 472 MB, free: 11.41 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.0006887/0.1785, allocations: 415 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.1786, allocations: 8.031 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.255e-05/0.1786, allocations: 38.73 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.1787, allocations: 8.844 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.179, allocations: 205.7 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.179, allocations: 4.375 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.179, allocations: 7.922 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1792, allocations: 53.67 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1793, allocations: 4 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1793, allocations: 4 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1793, allocations: 0 / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.249e-05/0.1794, allocations: 15.98 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.1798, allocations: 288.8 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.18, allocations: 62.62 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.1801, allocations: 20.84 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1801, allocations: 4 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.1804, allocations: 67.3 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.1804, allocations: 0 / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006082/0.181, allocations: 173.3 kB / 473.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.1811, allocations: 55.41 kB / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.1813, allocations: 177.8 kB / 473.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1813, allocations: 29.7 kB / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.1814, allocations: 100.1 kB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.1814, allocations: 23.59 kB / 473.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.1815, allocations: 29.7 kB / 473.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1816, allocations: 322.8 kB / 474.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.1817, allocations: 23.98 kB / 474.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.1818, allocations: 33.72 kB / 474.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.1819, allocations: 53.7 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1819, allocations: 0 / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.1821, allocations: 117.3 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1821, allocations: 4 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1821, allocations: 0 / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1821, allocations: 4 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.1822, allocations: 16.03 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1823, allocations: 3.938 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.1823, allocations: 11.92 kB / 474.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1823, allocations: 0 / 474.4 MB, free: 8.836 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.0001172/0.1825, allocations: 121.8 kB / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.1825, allocations: 11.91 kB / 474.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.1825, allocations: 16.7 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1826, allocations: 0 / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1826, allocations: 4 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.1826, allocations: 7.922 kB / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.183, allocations: 383.3 kB / 474.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1831, allocations: 4 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.1831, allocations: 4.375 kB / 474.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1831, allocations: 7.938 kB / 474.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1831, allocations: 4.172 kB / 474.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1831, allocations: 4 kB / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1831, allocations: 11.97 kB / 474.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1834, allocations: 208.1 kB / 475.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.1835, allocations: 81.02 kB / 475.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1835, allocations: 7.938 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.1836, allocations: 3.984 kB / 475.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.1836, allocations: 8 kB / 475.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1836, allocations: 8 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1838, allocations: 135.1 kB / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1838, allocations: 0 / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1841, allocations: 24 kB / 475.4 MB, free: 7.691 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.001593/0.1857, allocations: 1.1 MB / 476.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1859, allocations: 59.91 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1859, allocations: 0 / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.812e-05/0.186, allocations: 36.03 kB / 476.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1863, allocations: 23.98 kB / 476.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.1882, allocations: 1.616 MB / 478.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.1885, allocations: 0.704 MB / 478.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.79e-05/0.1886, allocations: 21.11 kB / 478.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.1887, allocations: 35.36 kB / 479 MB, free: 4.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1887, allocations: 4 kB / 479 MB, free: 4.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.2047, allocations: 3.135 MB / 482.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.2049, allocations: 239.1 kB / 482.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.119, allocations: 4.062 kB / 482.4 MB, free: 0.8398 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches