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.002278/0.002278, allocations: 85.44 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002591/0.002591, allocations: 163.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.549/1.549, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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.2403/0.2403, allocations: 34.27 MB / 295 MB, free: 14.6 MB / 286.1 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.443e-06/1.443e-06, allocations: 0 / 442.7 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.634e-05, allocations: 2.281 kB / 442.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003424/0.00345, allocations: 1.922 MB / 444.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.005363, allocations: 1.005 MB / 445.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.107e-05/0.005454, allocations: 0 / 445.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.005741, allocations: 47.64 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.006069, allocations: 99.41 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.006314, allocations: 103.5 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.006559, allocations: 151.5 kB / 446.1 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.006666, allocations: 17.8 kB / 446.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.006811, allocations: 83.73 kB / 446.2 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.006902, allocations: 31.84 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.006927, allocations: 12 kB / 446.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.007031, allocations: 51.91 kB / 446.3 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.007095, allocations: 27.86 kB / 446.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.007158, allocations: 31.91 kB / 446.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.00743, allocations: 151.4 kB / 446.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.007432, allocations: 0 / 446.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007433, allocations: 0 / 446.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.007437, allocations: 0 / 446.5 MB, free: 1.609 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007353/0.008172, allocations: 421.5 kB / 446.9 MB, free: 1.164 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.008208, allocations: 12.03 kB / 446.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.00826, allocations: 20.84 kB / 446.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.008552, allocations: 166.3 kB / 447.1 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.008567, allocations: 4.375 kB / 447.1 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.008598, allocations: 8.375 kB / 447.1 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.008881, allocations: 137.8 kB / 447.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.008893, allocations: 3.938 kB / 447.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.008908, allocations: 4 kB / 447.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.008916, allocations: 4 kB / 447.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.00908, allocations: 55.41 kB / 447.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.009674, allocations: 448.7 kB / 447.7 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.01003, allocations: 86.64 kB / 447.8 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.01013, allocations: 32.84 kB / 447.8 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.01014, allocations: 4 kB / 447.8 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2059/0.216, allocations: 118.2 kB / 448 MB, free: 19.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 3.637e-06/0.216, allocations: 1.5 kB / 448 MB, free: 19.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005682/0.2166, allocations: 146 kB / 448.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.2166, allocations: 56.47 kB / 448.2 MB, free: 19.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.2169, allocations: 211.4 kB / 448.4 MB, free: 19.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2169, allocations: 27.23 kB / 448.4 MB, free: 19.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.2169, allocations: 117.8 kB / 448.5 MB, free: 19.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.217, allocations: 28.47 kB / 448.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.217, allocations: 28.8 kB / 448.6 MB, free: 19.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.2171, allocations: 330 kB / 448.9 MB, free: 18.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.2172, allocations: 27.83 kB / 448.9 MB, free: 18.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.981e-05/0.2173, allocations: 65.14 kB / 449 MB, free: 18.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.2175, allocations: 100.5 kB / 449.1 MB, free: 18.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2175, allocations: 1.156 kB / 449.1 MB, free: 18.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002704/0.2177, allocations: 151.7 kB / 449.2 MB, free: 18.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2178, allocations: 6.016 kB / 449.2 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2178, allocations: 4.453 kB / 449.2 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.2178, allocations: 2 kB / 449.2 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.2179, allocations: 22.05 kB / 449.3 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.2179, allocations: 1.969 kB / 449.3 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.411e-05/0.218, allocations: 17.23 kB / 449.3 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.218, allocations: 5.906 kB / 449.3 MB, free: 18.6 MB / 366.1 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 7.961e-05/0.2181, allocations: 132.1 kB / 449.4 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.2181, allocations: 18.59 kB / 449.4 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.2184, allocations: 133.5 kB / 449.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2184, allocations: 1.031 kB / 449.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2184, allocations: 1.156 kB / 449.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2184, allocations: 0.9375 kB / 449.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.2185, allocations: 150.2 kB / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2185, allocations: 0 / 449.7 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.2186, allocations: 25.27 kB / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2186, allocations: 0 / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2186, allocations: 2.906 kB / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2186, allocations: 2.562 kB / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.2186, allocations: 2.391 kB / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.219, allocations: 194.7 kB / 449.9 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.219, allocations: 17.8 kB / 449.9 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.2191, allocations: 2.406 kB / 449.9 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.2191, allocations: 13.94 kB / 450 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.2192, allocations: 6.109 kB / 450 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.2192, allocations: 3.922 kB / 450 MB, free: 18.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.2193, allocations: 147.3 kB / 450.1 MB, free: 18.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2193, allocations: 1.438 kB / 450.1 MB, free: 18.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000257/0.2196, allocations: 31.12 kB / 450.1 MB, free: 18.06 MB / 366.1 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.001545/0.2211, allocations: 447.1 kB / 450.6 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.2214, allocations: 80.59 kB / 450.7 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2214, allocations: 1.094 kB / 450.7 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.2215, allocations: 36.06 kB / 450.7 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.2218, allocations: 41.53 kB / 450.7 MB, free: 17.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.2223, allocations: 260.7 kB / 451 MB, free: 17.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.946e-05/0.2224, allocations: 99.7 kB / 451.1 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.48e-05/0.2224, allocations: 23.77 kB / 451.1 MB, free: 17.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.2225, allocations: 21.78 kB / 451.1 MB, free: 17.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2225, allocations: 1.5 kB / 451.1 MB, free: 17.59 MB / 366.1 MB Notification: Performance of Templates: time 0.006991/0.2295, allocations: 2.034 MB / 453.2 MB, free: 17.34 MB / 366.1 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: 5.03287611156702]