Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000779/0.000779, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003141/0.003141, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9003/0.9003, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2486/0.2486, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 443.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.085e-05, allocations: 2.281 kB / 443.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.1831/0.1831, allocations: 1.904 MB / 445.4 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.1841, allocations: 0.9987 MB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.1842, allocations: 6.75 kB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.1843, allocations: 48.47 kB / 446.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.1845, allocations: 108.6 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.1846, allocations: 95.11 kB / 446.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.1847, allocations: 147.8 kB / 446.8 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.89e-05/0.1848, allocations: 21.7 kB / 446.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.328e-05/0.1849, allocations: 75.67 kB / 446.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.1849, allocations: 37.28 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1849, allocations: 9.062 kB / 447 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.661e-05/0.185, allocations: 55.64 kB / 447 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.185, allocations: 29.19 kB / 447 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.1851, allocations: 30.75 kB / 447.1 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1852, allocations: 157.6 kB / 447.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.1852, allocations: 2.031 kB / 447.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1852, allocations: 0 / 447.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1852, allocations: 0 / 447.2 MB, free: 42.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003085/0.1855, allocations: 407 kB / 447.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.383e-05/0.1856, allocations: 8.781 kB / 447.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.1856, allocations: 21.58 kB / 447.7 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.1858, allocations: 168.5 kB / 447.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.1858, allocations: 11.56 kB / 447.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.1858, allocations: 6.188 kB / 447.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.1859, allocations: 139.1 kB / 448 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.902e-06/0.1859, allocations: 7.875 kB / 448 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.1859, allocations: 3.531 kB / 448 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.1859, allocations: 2.969 kB / 448 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.282e-05/0.186, allocations: 53.73 kB / 448 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.1862, allocations: 452.2 kB / 448.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1864, allocations: 84.17 kB / 448.6 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.1865, allocations: 45.19 kB / 448.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.1865, allocations: 0 / 448.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.641e-05/0.1866, allocations: 109.5 kB / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.31e-07/0.1866, allocations: 0 / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001982/0.1868, allocations: 151 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.409e-05/0.1868, allocations: 54.03 kB / 448.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.1869, allocations: 198.1 kB / 449.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-06/0.1869, allocations: 28.89 kB / 449.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.1869, allocations: 123.9 kB / 449.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.1869, allocations: 29.67 kB / 449.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.187, allocations: 32.22 kB / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.036e-05/0.187, allocations: 332.2 kB / 449.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.187, allocations: 30.23 kB / 449.7 MB, free: 40.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.1871, allocations: 67.28 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.049e-05/0.1872, allocations: 98.38 kB / 449.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1872, allocations: 10.56 kB / 449.8 MB, free: 40.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001257/0.1873, allocations: 134.2 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1873, allocations: 7.406 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1873, allocations: 0 / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.1873, allocations: 6.219 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.1874, allocations: 28.67 kB / 450 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1874, allocations: 2.906 kB / 450 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.1874, allocations: 9.875 kB / 450 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1874, allocations: 6.75 kB / 450 MB, free: 40.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.185e-05/0.1875, allocations: 132.2 kB / 450.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.1875, allocations: 13.09 kB / 450.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.1876, allocations: 138.5 kB / 450.3 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1877, allocations: 0.5625 kB / 450.3 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1877, allocations: 2.875 kB / 450.3 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1877, allocations: 4.938 kB / 450.3 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.075e-05/0.1877, allocations: 150.5 kB / 450.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1877, allocations: 4 kB / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.1878, allocations: 18.42 kB / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1878, allocations: 3.938 kB / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.1878, allocations: 6.781 kB / 450.5 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1878, allocations: 0 / 450.5 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1878, allocations: 0 / 450.5 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.188, allocations: 194 kB / 450.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.188, allocations: 18.75 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.188, allocations: 6.266 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.712e-05/0.188, allocations: 6.812 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.1881, allocations: 12.95 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1881, allocations: 6.094 kB / 450.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.759e-05/0.1881, allocations: 148.2 kB / 450.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1881, allocations: 0 / 450.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.1883, allocations: 27.12 kB / 450.9 MB, free: 40.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0005793/0.1888, allocations: 432.8 kB / 451.3 MB, free: 39.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.189, allocations: 85.77 kB / 451.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.189, allocations: 0 / 451.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.189, allocations: 38.02 kB / 451.4 MB, free: 39.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.1892, allocations: 49.41 kB / 451.5 MB, free: 39.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.1895, allocations: 295.6 kB / 451.8 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.1895, allocations: 106.4 kB / 451.9 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.1895, allocations: 20.91 kB / 451.9 MB, free: 39.55 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1895, allocations: 0 / 451.9 MB, free: 39.55 MB / 410.7 MB Notification: Performance of Templates: time 0.002066/0.1916, allocations: 2.269 MB / 454.2 MB, free: 39.32 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.727026249282062]