Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 85.11 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 158.3 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.607e-05, allocations: 10.22 kB / 442.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003378/0.003414, allocations: 1.669 MB / 444.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.005348, allocations: 0.958 MB / 445.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.005429, allocations: 0 / 445.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.005752, allocations: 55.62 kB / 445.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.006123, allocations: 103.5 kB / 445.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.006316, allocations: 79.66 kB / 445.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.00654, allocations: 103.6 kB / 445.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.065e-05/0.00659, allocations: 4.234 kB / 445.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.006708, allocations: 51.89 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.006789, allocations: 15.92 kB / 445.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.006813, allocations: 4 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.97e-05/0.006913, allocations: 47.8 kB / 445.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.006986, allocations: 27.91 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.007039, allocations: 19.88 kB / 445.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.007296, allocations: 119.6 kB / 446 MB, free: 1.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.007301, allocations: 4 kB / 446 MB, free: 1.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007302, allocations: 0 / 446 MB, free: 1.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.007311, allocations: 0 / 446 MB, free: 1.918 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006538/0.007965, allocations: 357.4 kB / 446.3 MB, free: 1.539 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.007999, allocations: 12.03 kB / 446.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.00805, allocations: 12.84 kB / 446.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.008339, allocations: 166.4 kB / 446.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.00835, allocations: 4.359 kB / 446.5 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.008367, allocations: 8.375 kB / 446.5 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.008519, allocations: 50.17 kB / 446.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.00853, allocations: 4.172 kB / 446.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.00854, allocations: 384 / 446.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.008548, allocations: 7.938 kB / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.008622, allocations: 19.92 kB / 446.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.008828, allocations: 137.3 kB / 446.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.009046, allocations: 50.61 kB / 446.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.009114, allocations: 24.78 kB / 446.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.009126, allocations: 4 kB / 446.8 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.009285, allocations: 67.39 kB / 446.9 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.009287, allocations: 0 / 446.9 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003204/0.009607, allocations: 101.6 kB / 447 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.009655, allocations: 59.33 kB / 447.1 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.009949, allocations: 275 kB / 447.3 MB, free: 452 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.009972, allocations: 29.7 kB / 447.4 MB, free: 416 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.01006, allocations: 112.1 kB / 447.5 MB, free: 300 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.0101, allocations: 19.84 kB / 447.5 MB, free: 280 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.01015, allocations: 25.7 kB / 447.5 MB, free: 248 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1725/0.1826, allocations: 325.1 kB / 447.8 MB, free: 19.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.1827, allocations: 11.91 kB / 447.8 MB, free: 19.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.759e-05/0.1828, allocations: 32.91 kB / 447.9 MB, free: 18.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.1829, allocations: 42.89 kB / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1829, allocations: 0 / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001864/0.1831, allocations: 88.88 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1831, allocations: 5.484 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1831, allocations: 1.062 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1831, allocations: 3.281 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.1832, allocations: 14.92 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1832, allocations: 1.641 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.1833, allocations: 11.75 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1833, allocations: 2.375 kB / 448 MB, free: 18.95 MB / 366.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 (7): * Single equations (assignments): 7 * 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 9.002e-05/0.1834, allocations: 132.9 kB / 448.2 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.1834, allocations: 19.64 kB / 448.2 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.1836, allocations: 102.6 kB / 448.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1836, allocations: 3.938 kB / 448.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1836, allocations: 1.125 kB / 448.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1836, allocations: 0.7031 kB / 448.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.1837, allocations: 143.8 kB / 448.4 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1838, allocations: 1.812 kB / 448.4 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.1838, allocations: 8.922 kB / 448.4 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1838, allocations: 0.6562 kB / 448.4 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.1838, allocations: 1.906 kB / 448.4 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1838, allocations: 1.375 kB / 448.4 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1838, allocations: 3.938 kB / 448.5 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.184, allocations: 117.2 kB / 448.6 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.184, allocations: 17.08 kB / 448.6 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.184, allocations: 3.203 kB / 448.6 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.191e-05/0.1841, allocations: 8.328 kB / 448.6 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1841, allocations: 14.48 kB / 448.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1841, allocations: 4.422 kB / 448.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1843, allocations: 205 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1843, allocations: 0 / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.1845, allocations: 23.47 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001527/0.186, allocations: 434.5 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.1862, allocations: 42.81 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1862, allocations: 2.438 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.22e-05/0.1862, allocations: 23.05 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1865, allocations: 24.92 kB / 449.4 MB, free: 18.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.1869, allocations: 274.8 kB / 449.6 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.561e-05/0.187, allocations: 111.2 kB / 449.7 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.137e-05/0.187, allocations: 11.16 kB / 449.7 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.1871, allocations: 17.03 kB / 449.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1871, allocations: 0 / 449.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of Templates: time 0.004753/0.1918, allocations: 1.65 MB / 451.4 MB, free: 17.91 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.013166628777981]