Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.0009191/0.0009191, allocations: 78.66 kB / 21.42 MB, free: 3.082 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.001069/0.001069, allocations: 171.7 kB / 24.82 MB, free: 9.266 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.9906/0.9906, 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.3507/0.3507, allocations: 34.25 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 378.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.478e-05, allocations: 6.25 kB / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002401/0.002425, allocations: 1.762 MB / 380.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003697, allocations: 1.001 MB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.463e-05/0.003781, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.004107, allocations: 35.78 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.004383, allocations: 103.4 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.004541, allocations: 79.66 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.004691, allocations: 111.6 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.004783, allocations: 7.984 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/0.004869, allocations: 47.91 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.004939, allocations: 31.89 kB / 381.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.004955, allocations: 8 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.321e-05/0.005028, allocations: 51.8 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.005075, allocations: 15.94 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.005112, allocations: 27.91 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.005264, allocations: 91.66 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.005265, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 4e-07/0.005265, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.00527, allocations: 0 / 381.9 MB, free: 14.94 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004342/0.005704, allocations: 451.8 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.005742, allocations: 8.031 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.005779, allocations: 16.84 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.00593, allocations: 165 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.005945, allocations: 384 / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.005963, allocations: 4.375 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.006071, allocations: 58.94 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.006084, allocations: 7.938 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.006092, allocations: 0 / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.0061, allocations: 3.984 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.006128, allocations: 7.984 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.006405, allocations: 264.3 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.106e-05/0.006496, allocations: 55.16 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.4e-05/0.00652, allocations: 11.69 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.006538, allocations: 4 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.543e-05/0.006634, allocations: 72.97 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.006635, allocations: 0 / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003234/0.006958, allocations: 133.5 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.00699, allocations: 55.34 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.007112, allocations: 226.3 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.007127, allocations: 33.7 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.007187, allocations: 154.8 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.00722, allocations: 27.77 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.007251, allocations: 27.38 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.007392, allocations: 0.4962 MB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.007409, allocations: 11.98 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.007438, allocations: 31.36 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.466e-05/0.007483, allocations: 47.38 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.007484, allocations: 3.938 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.64e-05/0.00757, allocations: 89.52 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.007581, allocations: 10.06 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.007587, allocations: 4.375 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.007598, allocations: 0 / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.036e-05/0.007659, allocations: 19.92 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007663, allocations: 4 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/0.00769, allocations: 4 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.007695, allocations: 0 / 384.4 MB, free: 12.26 MB / 362.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 7.511e-05/0.00777, allocations: 164.6 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.007785, allocations: 19.84 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.007916, allocations: 99.06 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.007918, allocations: 4 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.00792, allocations: 4 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.007925, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.008176, allocations: 357.6 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.008178, allocations: 0 / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.008203, allocations: 19.98 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.008206, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.008211, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.008214, allocations: 4 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008215, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.008355, allocations: 259.4 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.008367, allocations: 7.953 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.008385, allocations: 8 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.008421, allocations: 0 / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.008451, allocations: 11.92 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.008464, allocations: 4 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.856e-05/0.008533, allocations: 168.1 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008533, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.008688, allocations: 27.94 kB / 385.5 MB, free: 11.05 MB / 362.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.0008996/0.009588, allocations: 440.7 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.864e-05/0.009677, allocations: 47.58 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.009678, allocations: 0 / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.009711, allocations: 35.59 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.009919, allocations: 38.45 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.01022, allocations: 214 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.766e-05/0.01026, allocations: 67.34 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.366e-05/0.01029, allocations: 21.08 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.01035, allocations: 90.19 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01035, allocations: 0 / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.003417/0.01377, allocations: 2.035 MB / 388.5 MB, free: 8.199 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.281922472640872]