Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001147/0.001147, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.478/1.478, allocations: 222.9 MB / 243 MB, free: 15.09 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.2545/0.2545, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.3 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1808, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004163/0.1851, allocations: 1.888 MB / 472.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1869, allocations: 0.9938 MB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.187, allocations: 4 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005243/0.1876, allocations: 159.5 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.188, allocations: 131.5 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.1884, allocations: 175.3 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.1888, allocations: 235.3 kB / 474.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1889, allocations: 29.66 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1891, allocations: 111.5 kB / 474.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1893, allocations: 127.5 kB / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.1893, allocations: 8 kB / 474.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1895, allocations: 67.98 kB / 474.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.1896, allocations: 47.77 kB / 474.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.967e-05/0.1897, allocations: 79.42 kB / 474.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.19, allocations: 211.3 kB / 474.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.19, allocations: 0 / 474.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.19, allocations: 3.938 kB / 474.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.19, allocations: 0 / 474.9 MB, free: 9.387 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.000789/0.1908, allocations: 0.5255 MB / 475.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1908, allocations: 8.031 kB / 475.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.1909, allocations: 32.59 kB / 475.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.1914, allocations: 275.5 kB / 475.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.1914, allocations: 4.375 kB / 475.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.1915, allocations: 12.12 kB / 475.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.1917, allocations: 107.3 kB / 475.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1918, allocations: 0 / 475.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.1918, allocations: 4 kB / 475.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.1918, allocations: 8 kB / 475.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.192, allocations: 51.88 kB / 476 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.1926, allocations: 460.7 kB / 476.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.193, allocations: 125.2 kB / 476.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1931, allocations: 45.83 kB / 476.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1932, allocations: 0 / 476.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.1934, allocations: 117 kB / 476.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.1934, allocations: 4 kB / 476.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001328/0.1948, allocations: 493 kB / 477.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.1948, allocations: 81.11 kB / 477.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.1952, allocations: 351 kB / 477.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.1952, allocations: 33.7 kB / 477.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1954, allocations: 148.5 kB / 477.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.647e-05/0.1954, allocations: 71.09 kB / 477.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.1955, allocations: 41.7 kB / 477.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1957, allocations: 338.8 kB / 478.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1958, allocations: 55.97 kB / 478.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1959, allocations: 99.27 kB / 478.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1962, allocations: 159.5 kB / 478.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1962, allocations: 0 / 478.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003918/0.1966, allocations: 233.1 kB / 478.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1966, allocations: 11.94 kB / 478.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1967, allocations: 0 / 478.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1967, allocations: 4 kB / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.1968, allocations: 47.98 kB / 478.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.1968, allocations: 4 kB / 478.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.479e-05/0.1969, allocations: 7.984 kB / 478.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.1969, allocations: 8 kB / 478.8 MB, free: 5.207 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.0001619/0.1971, allocations: 161.8 kB / 479 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.1972, allocations: 31.56 kB / 479 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.632e-05/0.1972, allocations: 33.97 kB / 479.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1973, allocations: 4 kB / 479.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1973, allocations: 4 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.1973, allocations: 3.984 kB / 479.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008917/0.1982, allocations: 0.7115 MB / 479.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1982, allocations: 4 kB / 479.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.322e-05/0.1983, allocations: 36.11 kB / 479.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1983, allocations: 0 / 479.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1983, allocations: 7.984 kB / 479.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.1983, allocations: 7.984 kB / 479.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1983, allocations: 3.938 kB / 479.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.1988, allocations: 419.5 kB / 480.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.1989, allocations: 96.83 kB / 480.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.1989, allocations: 8 kB / 480.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1991, allocations: 11.98 kB / 480.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.1991, allocations: 27.8 kB / 480.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.1992, allocations: 12 kB / 480.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.1994, allocations: 269.9 kB / 480.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1994, allocations: 0 / 480.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.1998, allocations: 51.89 kB / 480.7 MB, free: 3.199 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.001319/0.2011, allocations: 0.5062 MB / 481.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003735/0.2015, allocations: 159.7 kB / 481.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.2015, allocations: 4.125 kB / 481.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.2017, allocations: 79.91 kB / 481.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.2022, allocations: 62.38 kB / 481.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.2031, allocations: 496.7 kB / 482 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.2035, allocations: 0.7597 MB / 482.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.2036, allocations: 41.92 kB / 482.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.2037, allocations: 35.36 kB / 482.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2037, allocations: 0 / 482.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of Templates: time 0.007351/0.2111, allocations: 3.056 MB / 485.9 MB, free: 14.18 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches