Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001379/0.001379, allocations: 82.64 kB / 21.42 MB, free: 3.074 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.00166/0.00166, allocations: 172.1 kB / 24.82 MB, free: 8.773 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 1.125/1.125, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.4293/0.4293, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 179] 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 378.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.635e-05/3.876e-05, allocations: 2.312 kB / 378.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003765/0.003804, allocations: 1.935 MB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.005629, allocations: 1.036 MB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.005801, allocations: 3.938 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.006225, allocations: 43.66 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.006654, allocations: 103.4 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.00698, allocations: 99.56 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.007239, allocations: 147.5 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.007369, allocations: 21.75 kB / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.007515, allocations: 79.8 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.007633, allocations: 43.83 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.007656, allocations: 8 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.007778, allocations: 43.92 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.476e-05/0.007853, allocations: 31.84 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.00791, allocations: 23.92 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.008213, allocations: 135.4 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.008218, allocations: 0 / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.00822, allocations: 0 / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.008228, allocations: 0 / 382.3 MB, free: 14.56 MB / 362.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.0006193/0.008848, allocations: 0.5013 MB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.008899, allocations: 12.03 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.008949, allocations: 20.8 kB / 382.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.009187, allocations: 177.1 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.00921, allocations: 8.375 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.009234, allocations: 8.359 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.009446, allocations: 142.9 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.009459, allocations: 7.875 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.00947, allocations: 7.984 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.009477, allocations: 4 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.384e-05/0.009521, allocations: 19.97 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.01007, allocations: 0.5605 MB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.01027, allocations: 63.16 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.0103, allocations: 27.59 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.01032, allocations: 8 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.01047, allocations: 94.75 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.01047, allocations: 0 / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002251/0.0107, allocations: 105.5 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.01073, allocations: 51.41 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.01089, allocations: 243 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.01091, allocations: 33.7 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.01101, allocations: 162.7 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.01104, allocations: 31.73 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.01109, allocations: 39.34 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000313/0.0114, allocations: 0.5 MB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.01144, allocations: 19.98 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.01179, allocations: 58.36 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.01187, allocations: 74.36 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01187, allocations: 0 / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001484/0.01202, allocations: 109.5 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01204, allocations: 8.125 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01205, allocations: 4 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.01206, allocations: 0 / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.01214, allocations: 31.86 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.01214, allocations: 0 / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.059e-05/0.01218, allocations: 11.94 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.01219, allocations: 4 kB / 385.4 MB, free: 11.16 MB / 362.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 9.713e-05/0.01229, allocations: 168.5 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.01231, allocations: 15.91 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.01246, allocations: 107.1 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01247, allocations: 0 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.01247, allocations: 4 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01247, allocations: 0 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.01259, allocations: 133.1 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01259, allocations: 0 / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.01265, allocations: 15.94 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01265, allocations: 0 / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.01267, allocations: 7.984 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01267, allocations: 0 / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01267, allocations: 3.984 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.01287, allocations: 156.8 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.0129, allocations: 19.83 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.01292, allocations: 4 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.01295, allocations: 8 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.01298, allocations: 7.984 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.013, allocations: 0 / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.745e-05/0.01308, allocations: 167.1 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01308, allocations: 0 / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.01324, allocations: 24 kB / 386.3 MB, free: 10.27 MB / 362.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.000898/0.01414, allocations: 400.3 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.01428, allocations: 51.55 kB / 386.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01429, allocations: 4.188 kB / 386.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.622e-05/0.01433, allocations: 43.59 kB / 386.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.01457, allocations: 49.84 kB / 386.8 MB, free: 9.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.01503, allocations: 242 kB / 387 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.786e-05/0.01508, allocations: 71.83 kB / 387.1 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.01514, allocations: 17.48 kB / 387.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.01523, allocations: 106.2 kB / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01523, allocations: 0 / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of Templates: time 0.005137/0.02037, allocations: 2.225 MB / 389.5 MB, free: 7.195 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7116813813336194]