Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001161/0.001161, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005369/0.005369, allocations: 160.2 kB / 24.7 MB, free: 9.43 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.9139/0.9139, allocations: 177.2 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2556/0.2556, allocations: 32.8 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.973e-05, allocations: 6.781 kB / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002294/0.002324, allocations: 1.725 MB / 442.7 MB, free: 1.914 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003518, allocations: 0.9686 MB / 443.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.15e-05/0.00361, allocations: 7.938 kB / 443.6 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.003893, allocations: 35.75 kB / 443.7 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.004213, allocations: 103.4 kB / 443.8 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.004418, allocations: 79.67 kB / 443.8 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.004595, allocations: 111.6 kB / 444 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.004693, allocations: 4 kB / 444 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.00478, allocations: 59.81 kB / 444 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.00485, allocations: 23.92 kB / 444 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.004865, allocations: 4 kB / 444 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.05e-05/0.004956, allocations: 43.92 kB / 444.1 MB, free: 488 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.005015, allocations: 23.84 kB / 444.1 MB, free: 464 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.005051, allocations: 19.88 kB / 444.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.005239, allocations: 123.5 kB / 444.3 MB, free: 320 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.005242, allocations: 4 kB / 444.3 MB, free: 316 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.005243, allocations: 0 / 444.3 MB, free: 316 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.005249, allocations: 0 / 444.3 MB, free: 316 kB / 410.7 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.1784/0.1836, allocations: 340 kB / 444.6 MB, free: 46.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1837, allocations: 8.281 kB / 444.6 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.1837, allocations: 14.66 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.184, allocations: 146.1 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.184, allocations: 4.062 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.184, allocations: 7.547 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1841, allocations: 54.89 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1841, allocations: 3.062 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1842, allocations: 1.75 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1842, allocations: 3.344 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.3e-05/0.1842, allocations: 27.72 kB / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.1845, allocations: 233.3 kB / 445.1 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.1846, allocations: 55.05 kB / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.1846, allocations: 21.73 kB / 445.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1846, allocations: 0.875 kB / 445.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.1847, allocations: 73.41 kB / 445.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1847, allocations: 0 / 445.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004185/0.1852, allocations: 187.7 kB / 445.4 MB, free: 46.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.1852, allocations: 51.41 kB / 445.5 MB, free: 46.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1853, allocations: 205.3 kB / 445.7 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.1853, allocations: 29.58 kB / 445.7 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.1853, allocations: 103.5 kB / 445.8 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1854, allocations: 27.33 kB / 445.8 MB, free: 45.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.1854, allocations: 21.31 kB / 445.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.532e-05/0.1854, allocations: 323.7 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.1855, allocations: 21.59 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.1855, allocations: 45.95 kB / 446.2 MB, free: 45.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.652e-05/0.1856, allocations: 62.3 kB / 446.3 MB, free: 45.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1856, allocations: 0 / 446.3 MB, free: 45.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001055/0.1857, allocations: 113.8 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1857, allocations: 5.344 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1857, allocations: 0 / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1857, allocations: 8.938 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.1858, allocations: 17.94 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.1858, allocations: 2.719 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/0.1858, allocations: 2.406 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1858, allocations: 2.781 kB / 446.4 MB, free: 45.59 MB / 410.7 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 5.311e-05/0.1859, allocations: 125.5 kB / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.1859, allocations: 14.89 kB / 446.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.186, allocations: 125.4 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.186, allocations: 0 / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.186, allocations: 5.25 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.186, allocations: 2.906 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1863, allocations: 358 kB / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1863, allocations: 0 / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.1863, allocations: 10.81 kB / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1863, allocations: 0 / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1863, allocations: 3.062 kB / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1863, allocations: 0 / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1863, allocations: 3.25 kB / 447.1 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.1864, allocations: 215 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.1864, allocations: 16.91 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1864, allocations: 6.438 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.1865, allocations: 0 / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.1865, allocations: 12.19 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1865, allocations: 6.844 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.079e-05/0.1866, allocations: 154.3 kB / 447.5 MB, free: 44.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1866, allocations: 5.031 kB / 447.5 MB, free: 44.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.1868, allocations: 23 kB / 447.5 MB, free: 44.84 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0007587/0.1875, allocations: 492.6 kB / 448 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.1877, allocations: 65.45 kB / 448 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1877, allocations: 3.938 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.1877, allocations: 24.77 kB / 448.1 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.1879, allocations: 37.28 kB / 448.1 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.1883, allocations: 262.7 kB / 448.4 MB, free: 44.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.158e-05/0.1883, allocations: 97.42 kB / 448.5 MB, free: 44.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.1884, allocations: 17.56 kB / 448.5 MB, free: 44.39 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1884, allocations: 4 kB / 448.5 MB, free: 44.39 MB / 410.7 MB Notification: Performance of Templates: time 0.002423/0.1908, allocations: 2.016 MB / 450.5 MB, free: 44.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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: 5.106413117609918]