Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.0007633/0.0007633, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004119/0.004119, allocations: 153.4 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.9038/0.9038, allocations: 177 MB / 204.9 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] 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.2643/0.2643, allocations: 34.25 MB / 295.6 MB, free: 0.6719 MB / 266.7 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 443.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.805e-05/4.043e-05, allocations: 9.031 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.2353/0.2353, allocations: 1.717 MB / 445.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2364, allocations: 0.9772 MB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.27e-05/0.2365, allocations: 0 / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.2368, allocations: 51.08 kB / 446.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.2371, allocations: 102.6 kB / 446.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.2373, allocations: 87.84 kB / 446.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.2375, allocations: 102.3 kB / 446.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2376, allocations: 12.38 kB / 446.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.931e-05/0.2376, allocations: 55.14 kB / 446.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.2377, allocations: 28.34 kB / 446.6 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.2377, allocations: 3.188 kB / 446.6 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.2378, allocations: 48.94 kB / 446.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.2379, allocations: 27.84 kB / 446.7 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.2379, allocations: 22.14 kB / 446.7 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.2381, allocations: 135 kB / 446.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.2381, allocations: 2.844 kB / 446.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2381, allocations: 3.938 kB / 446.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.2382, allocations: 0 / 446.9 MB, free: 42.99 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000539/0.2387, allocations: 365.1 kB / 447.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2387, allocations: 8.688 kB / 447.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.2388, allocations: 17.25 kB / 447.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.239, allocations: 169.6 kB / 447.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.239, allocations: 384 / 447.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.2391, allocations: 5.844 kB / 447.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.2392, allocations: 58.27 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2392, allocations: 192 / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2392, allocations: 1.25 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2392, allocations: 6.719 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.57e-05/0.2393, allocations: 21.62 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.2396, allocations: 241.7 kB / 447.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.2398, allocations: 63.88 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.2398, allocations: 20.78 kB / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.2398, allocations: 3.562 kB / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.2399, allocations: 67.98 kB / 447.9 MB, free: 42.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.2399, allocations: 3 kB / 447.9 MB, free: 42.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005213/0.2405, allocations: 195.2 kB / 448.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.2405, allocations: 58.44 kB / 448.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.2407, allocations: 280.4 kB / 448.4 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.2407, allocations: 25.7 kB / 448.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.2407, allocations: 118.3 kB / 448.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.2408, allocations: 26.52 kB / 448.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.2408, allocations: 24.83 kB / 448.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.913e-05/0.2408, allocations: 327.6 kB / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.2409, allocations: 22.61 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.2409, allocations: 38.69 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.084e-05/0.241, allocations: 62.73 kB / 449.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.241, allocations: 0 / 449.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001144/0.2411, allocations: 108.9 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2411, allocations: 9.625 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2411, allocations: 0 / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2411, allocations: 0 / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/0.2412, allocations: 17.09 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2412, allocations: 6.531 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.2413, allocations: 4 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2413, allocations: 2.75 kB / 449.2 MB, free: 41.16 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 6.553e-05/0.2413, allocations: 133 kB / 449.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.2413, allocations: 27.33 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.2415, allocations: 124.3 kB / 449.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2415, allocations: 6.719 kB / 449.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2415, allocations: 0 / 449.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2415, allocations: 0 / 449.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.2418, allocations: 363.7 kB / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2418, allocations: 0 / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.2418, allocations: 11.47 kB / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.2418, allocations: 0 / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.2418, allocations: 2.906 kB / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2418, allocations: 3.938 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2418, allocations: 7.922 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.2419, allocations: 228.5 kB / 450.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.2419, allocations: 16.83 kB / 450.1 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.242, allocations: 0 / 450.1 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.242, allocations: 2.781 kB / 450.1 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.242, allocations: 10.08 kB / 450.1 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.242, allocations: 2.844 kB / 450.1 MB, free: 40.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.033e-05/0.2421, allocations: 210.2 kB / 450.3 MB, free: 40.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2421, allocations: 0 / 450.3 MB, free: 40.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.2423, allocations: 25.31 kB / 450.3 MB, free: 40.36 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.0008021/0.2431, allocations: 489.4 kB / 450.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.2433, allocations: 64.5 kB / 450.9 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2433, allocations: 0 / 450.9 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.177e-05/0.2433, allocations: 33.25 kB / 450.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.2436, allocations: 43.03 kB / 451 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.244, allocations: 320.4 kB / 451.3 MB, free: 39.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.143e-05/0.2441, allocations: 103.8 kB / 451.4 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.2441, allocations: 21.06 kB / 451.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2441, allocations: 0 / 451.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of Templates: time 0.002775/0.2469, allocations: 2.16 MB / 453.6 MB, free: 39.58 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.307384540326893]