Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001112/0.001112, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001299/0.001299, allocations: 168.6 kB / 24.84 MB, free: 9.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.003/1.003, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1661/0.1661, allocations: 32.38 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.655e-05/3.834e-05, allocations: 5.406 kB / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003319/0.003357, allocations: 1.915 MB / 350.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.004741, allocations: 0.831 MB / 351.7 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.004863, allocations: 3.938 kB / 351.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.005233, allocations: 47.69 kB / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.005466, allocations: 59.64 kB / 351.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.005722, allocations: 103.7 kB / 351.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.005944, allocations: 147.5 kB / 352.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.006108, allocations: 25.59 kB / 352.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.006231, allocations: 67.83 kB / 352.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.006355, allocations: 43.81 kB / 352.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.006381, allocations: 8 kB / 352.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.573e-05/0.006477, allocations: 43.92 kB / 352.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.006547, allocations: 27.91 kB / 352.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.0066, allocations: 31.84 kB / 352.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.006804, allocations: 123.5 kB / 352.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.006809, allocations: 0 / 352.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.006811, allocations: 4 kB / 352.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.006818, allocations: 0 / 352.5 MB, free: 5.602 MB / 282.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.0004484/0.007266, allocations: 0.4935 MB / 353 MB, free: 5.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.007302, allocations: 12.03 kB / 353 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.007346, allocations: 16.84 kB / 353 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.007508, allocations: 172.3 kB / 353.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.007527, allocations: 4.375 kB / 353.2 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.007551, allocations: 8.375 kB / 353.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.007708, allocations: 143.6 kB / 353.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.007718, allocations: 7.938 kB / 353.3 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.007728, allocations: 7.938 kB / 353.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.007734, allocations: 4 kB / 353.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/0.007769, allocations: 23.91 kB / 353.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.00811, allocations: 0.5489 MB / 353.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.008265, allocations: 71.09 kB / 354 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.008288, allocations: 23.67 kB / 354 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.008301, allocations: 4 kB / 354 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.008408, allocations: 94.73 kB / 354.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.00841, allocations: 0 / 354.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001719/0.008582, allocations: 101.5 kB / 354.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.008603, allocations: 63.33 kB / 354.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.008692, allocations: 230.6 kB / 354.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.008703, allocations: 25.7 kB / 354.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.008754, allocations: 170.7 kB / 354.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.008771, allocations: 27.73 kB / 354.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.008806, allocations: 39.36 kB / 354.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.008858, allocations: 0.5 MB / 355.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.008879, allocations: 11.98 kB / 355.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.008914, allocations: 62.41 kB / 355.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.166e-05/0.008976, allocations: 74.73 kB / 355.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008978, allocations: 0 / 355.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001076/0.009085, allocations: 113.3 kB / 355.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.009097, allocations: 8 kB / 355.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.009103, allocations: 3.984 kB / 355.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.009113, allocations: 7.984 kB / 355.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.009179, allocations: 20 kB / 355.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-06/0.009182, allocations: 0 / 355.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.009216, allocations: 15.92 kB / 355.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.009222, allocations: 0 / 355.5 MB, free: 2.238 MB / 282.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 6.068e-05/0.009283, allocations: 178.8 kB / 355.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.009299, allocations: 28.03 kB / 355.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.009425, allocations: 95.06 kB / 355.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.009428, allocations: 4 kB / 355.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.009431, allocations: 0 / 355.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.009435, allocations: 0 / 355.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.257e-05/0.009518, allocations: 137 kB / 356 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.00952, allocations: 4 kB / 356 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.009572, allocations: 15.98 kB / 356 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.009574, allocations: 0 / 356 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.009584, allocations: 4 kB / 356 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.009585, allocations: 0 / 356 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009586, allocations: 4 kB / 356 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.009717, allocations: 152.2 kB / 356.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.009736, allocations: 11.95 kB / 356.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.009753, allocations: 0 / 356.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.807e-05/0.009781, allocations: 4 kB / 356.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.009814, allocations: 11.98 kB / 356.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.009827, allocations: 3.984 kB / 356.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.009875, allocations: 173 kB / 356.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009875, allocations: 0 / 356.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.01004, allocations: 35.83 kB / 356.4 MB, free: 1.324 MB / 282.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.0007541/0.01079, allocations: 378.1 kB / 356.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.0109, allocations: 59.72 kB / 356.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01091, allocations: 0 / 356.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.728e-05/0.01094, allocations: 39.72 kB / 356.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.01115, allocations: 43.91 kB / 356.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.01154, allocations: 256.1 kB / 357.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.556e-05/0.01157, allocations: 67.83 kB / 357.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.435e-05/0.01161, allocations: 21.27 kB / 357.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.01169, allocations: 94.19 kB / 357.3 MB, free: 432 kB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01169, allocations: 0 / 357.3 MB, free: 432 kB / 282.7 MB Notification: Performance of Templates: time 0.00454/0.01623, allocations: 2.27 MB / 359.6 MB, free: 14.17 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2539832228794694]