Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001443/0.001443, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001468/0.001468, allocations: 173.9 kB / 24.92 MB, free: 8.723 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.9321/0.9321, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2275/0.2275, allocations: 32.8 MB / 294.6 MB, free: 1.18 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.076e-05, allocations: 6.906 kB / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003031/0.003052, allocations: 1.75 MB / 325.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.00478, allocations: 1.009 MB / 326.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.004859, allocations: 4 kB / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.005155, allocations: 51.69 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.005491, allocations: 103.5 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.0057, allocations: 79.61 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.005886, allocations: 119.5 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.027e-05/0.005966, allocations: 5.375 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.006074, allocations: 51.89 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.006156, allocations: 23.91 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.006174, allocations: 4 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.006272, allocations: 47.86 kB / 326.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.917e-05/0.006331, allocations: 31.91 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.006372, allocations: 23.88 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.006574, allocations: 111.6 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006576, allocations: 4 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.006577, allocations: 0 / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.00658, allocations: 0 / 326.7 MB, free: 6.199 MB / 298.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.0004271/0.007007, allocations: 353.1 kB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.00704, allocations: 8.031 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.007084, allocations: 12.92 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.007268, allocations: 154.4 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.007289, allocations: 12.31 kB / 327.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.00731, allocations: 384 / 327.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.007434, allocations: 69.75 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.007445, allocations: 3.938 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.007453, allocations: 4 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.007458, allocations: 0 / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.559e-05/0.007494, allocations: 8 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.007757, allocations: 166 kB / 327.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.007872, allocations: 93.22 kB / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.412e-05/0.007896, allocations: 8.859 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.007906, allocations: 0 / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.008015, allocations: 70.14 kB / 327.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.008017, allocations: 4 kB / 327.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003466/0.008363, allocations: 117.5 kB / 327.8 MB, free: 5.027 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.008403, allocations: 55.41 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.00858, allocations: 213 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.008598, allocations: 25.7 kB / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.00864, allocations: 96.11 kB / 328.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.008677, allocations: 31.77 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.008713, allocations: 17.72 kB / 328.2 MB, free: 4.555 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.00882, allocations: 338.8 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.008845, allocations: 6.828 kB / 328.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.008878, allocations: 33.64 kB / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.355e-05/0.008942, allocations: 44.58 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.008943, allocations: 3.938 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001124/0.009056, allocations: 84.36 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.009068, allocations: 4 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.009072, allocations: 0 / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.009084, allocations: 0 / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.009164, allocations: 15.98 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.009169, allocations: 4 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.009211, allocations: 4.031 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.00922, allocations: 4 kB / 328.7 MB, free: 3.992 MB / 298.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 8.106e-05/0.009301, allocations: 120.6 kB / 328.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.009323, allocations: 11.92 kB / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.00946, allocations: 83.06 kB / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.009462, allocations: 0 / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.009464, allocations: 0 / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.009467, allocations: 0 / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.009781, allocations: 307.4 kB / 329.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.009783, allocations: 4.031 kB / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.009822, allocations: 8 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.009825, allocations: 384 / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.009841, allocations: 4 kB / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.009844, allocations: 4 kB / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.009846, allocations: 0 / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.009995, allocations: 223 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.01002, allocations: 11.91 kB / 329.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.01004, allocations: 4 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.01011, allocations: 4 kB / 329.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.01015, allocations: 3.984 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.01016, allocations: 12 kB / 329.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.162e-05/0.01025, allocations: 76.78 kB / 329.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01025, allocations: 0 / 329.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002577/0.01051, allocations: 27.94 kB / 329.6 MB, free: 3.035 MB / 298.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.001827/0.01234, allocations: 0.5883 MB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.01246, allocations: 44.78 kB / 330.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.01246, allocations: 0 / 330.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.01251, allocations: 24.8 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.01278, allocations: 35.16 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.01321, allocations: 260.2 kB / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.818e-05/0.01326, allocations: 79.45 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.752e-05/0.01331, allocations: 8.984 kB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.615e-05/0.0134, allocations: 67.36 kB / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.0134, allocations: 0 / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of Templates: time 0.004052/0.01745, allocations: 2.045 MB / 332.8 MB, free: 180 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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: 2.8397760298103094]