Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001174/0.001174, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.5/1.5, allocations: 222.9 MB / 243 MB, free: 15.08 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.2605/0.2605, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 69.3 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1686, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003658/0.1723, allocations: 1.882 MB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.174, allocations: 0.9899 MB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.903e-05/0.1741, allocations: 0 / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.1747, allocations: 255.3 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.1751, allocations: 195.4 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.1755, allocations: 178.8 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.1759, allocations: 251.4 kB / 474.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.176, allocations: 37.59 kB / 474.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1762, allocations: 131.5 kB / 474.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.1764, allocations: 175.5 kB / 474.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.1764, allocations: 8 kB / 474.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1766, allocations: 67.91 kB / 474.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.141e-05/0.1767, allocations: 59.77 kB / 474.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1768, allocations: 95.28 kB / 475 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.1771, allocations: 247 kB / 475.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1771, allocations: 0 / 475.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1772, allocations: 0 / 475.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1772, allocations: 0 / 475.2 MB, free: 9.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007909/0.178, allocations: 0.5642 MB / 475.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.178, allocations: 16.02 kB / 475.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/0.1781, allocations: 28.56 kB / 475.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.1785, allocations: 287.9 kB / 476.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1786, allocations: 16.36 kB / 476.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.1786, allocations: 8.125 kB / 476.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.1788, allocations: 109.2 kB / 476.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1789, allocations: 0 / 476.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1789, allocations: 4 kB / 476.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1789, allocations: 4 kB / 476.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.179, allocations: 47.89 kB / 476.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.1796, allocations: 480.7 kB / 476.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.18, allocations: 121.2 kB / 476.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.964e-05/0.1801, allocations: 49.81 kB / 477 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1802, allocations: 4.156 kB / 477 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.1804, allocations: 117 kB / 477.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1804, allocations: 4 kB / 477.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00128/0.1817, allocations: 0.4998 MB / 477.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.1818, allocations: 81.11 kB / 477.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.1822, allocations: 477.7 kB / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1823, allocations: 33.7 kB / 478.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.1824, allocations: 156.5 kB / 478.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.1825, allocations: 75 kB / 478.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.1825, allocations: 41.7 kB / 478.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1827, allocations: 358.7 kB / 478.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1828, allocations: 55.98 kB / 478.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.183, allocations: 95.33 kB / 478.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.1832, allocations: 155.5 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1833, allocations: 4 kB / 479.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000378/0.1836, allocations: 237.1 kB / 479.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1837, allocations: 7.938 kB / 479.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1837, allocations: 0 / 479.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1837, allocations: 7.938 kB / 479.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1838, allocations: 43.92 kB / 479.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1839, allocations: 0 / 479.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.1839, allocations: 16.05 kB / 479.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.184, allocations: 8 kB / 479.4 MB, free: 4.641 MB / 350.1 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 0.0001761/0.1842, allocations: 181.7 kB / 479.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.1842, allocations: 35.47 kB / 479.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.59e-05/0.1843, allocations: 42.81 kB / 479.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1843, allocations: 4 kB / 479.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1843, allocations: 3.984 kB / 479.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1843, allocations: 0 / 479.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008555/0.1852, allocations: 0.7311 MB / 480.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1852, allocations: 7.984 kB / 480.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.1853, allocations: 24 kB / 480.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1853, allocations: 0 / 480.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.1853, allocations: 15.98 kB / 480.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1853, allocations: 8.062 kB / 480.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1854, allocations: 4.938 kB / 480.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.1858, allocations: 419.6 kB / 480.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.92e-05/0.1859, allocations: 100.7 kB / 481 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.1859, allocations: 11.94 kB / 481 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1861, allocations: 11.98 kB / 481 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.1861, allocations: 27.86 kB / 481 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.1862, allocations: 8 kB / 481 MB, free: 2.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003241/0.1865, allocations: 359.1 kB / 481.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1865, allocations: 0 / 481.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.1869, allocations: 55.98 kB / 481.4 MB, free: 2.488 MB / 350.1 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 (22): * Single equations (assignments): 18 * 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.001269/0.1882, allocations: 0.5108 MB / 481.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.1885, allocations: 163.8 kB / 482.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1885, allocations: 0 / 482.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1887, allocations: 80.22 kB / 482.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.1894, allocations: 66.36 kB / 482.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.1905, allocations: 0.5902 MB / 482.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.1911, allocations: 0.7753 MB / 483.6 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.1912, allocations: 33.94 kB / 483.6 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.1913, allocations: 35.42 kB / 483.7 MB, free: 388 kB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1913, allocations: 0 / 483.7 MB, free: 388 kB / 350.1 MB Notification: Performance of Templates: time 0.008314/0.1996, allocations: 3.134 MB / 486.8 MB, free: 13.27 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches