Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001165/0.001165, allocations: 80.98 kB / 20.65 MB, free: 3.836 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.001604/0.001604, allocations: 177 kB / 24.06 MB, free: 444 kB / 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.001/1.001, allocations: 158.6 MB / 185.9 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.1328/0.1328, allocations: 32.37 MB / 270.7 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 348.2 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.359e-05, allocations: 4.281 kB / 348.2 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.001795/0.001808, allocations: 1.726 MB / 349.9 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008436/0.002652, allocations: 0.7765 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.002736, allocations: 4 kB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.003074, allocations: 87.62 kB / 350.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.003291, allocations: 75.61 kB / 350.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.003508, allocations: 91.69 kB / 351 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.003665, allocations: 115.6 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.003766, allocations: 4.234 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.912e-05/0.003865, allocations: 63.86 kB / 351.1 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.003946, allocations: 55.81 kB / 351.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.003964, allocations: 4 kB / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.896e-05/0.004032, allocations: 47.86 kB / 351.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.004071, allocations: 19.92 kB / 351.3 MB, free: 6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.004104, allocations: 19.92 kB / 351.3 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.004233, allocations: 107.6 kB / 351.4 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004234, allocations: 4 kB / 351.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004235, allocations: 0 / 351.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.004238, allocations: 0 / 351.4 MB, free: 5.871 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003163/0.004555, allocations: 451.8 kB / 351.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.004595, allocations: 8.031 kB / 351.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.004628, allocations: 12.89 kB / 351.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.004739, allocations: 156.3 kB / 352 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.004753, allocations: 4.375 kB / 352 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.004768, allocations: 4.375 kB / 352 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.00486, allocations: 54.94 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.00487, allocations: 7.938 kB / 352.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.004877, allocations: 4 kB / 352.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.004884, allocations: 4 kB / 352.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.004907, allocations: 7.984 kB / 352.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.005109, allocations: 264.4 kB / 352.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.203e-05/0.005191, allocations: 51.17 kB / 352.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.00521, allocations: 15.67 kB / 352.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.005234, allocations: 4 kB / 352.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.089e-05/0.005315, allocations: 68.97 kB / 352.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.005316, allocations: 8 kB / 352.5 MB, free: 4.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003006/0.005616, allocations: 129.5 kB / 352.6 MB, free: 4.508 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.005634, allocations: 55.34 kB / 352.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.00573, allocations: 242.5 kB / 352.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.005738, allocations: 25.7 kB / 352.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.005776, allocations: 162.7 kB / 353.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.005798, allocations: 27.84 kB / 353.1 MB, free: 3.965 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.005827, allocations: 31.36 kB / 353.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.005881, allocations: 0.5001 MB / 353.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.005895, allocations: 8 kB / 353.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-05/0.005918, allocations: 31.36 kB / 353.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.718e-05/0.005955, allocations: 51.28 kB / 353.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.005956, allocations: 0 / 353.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.432e-05/0.006031, allocations: 85.61 kB / 353.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.006043, allocations: 8 kB / 353.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006048, allocations: 80 / 353.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.00606, allocations: 0 / 353.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.348e-05/0.006113, allocations: 19.92 kB / 353.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.006119, allocations: 7.984 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.006144, allocations: 4.031 kB / 353.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.006149, allocations: 4 kB / 353.9 MB, free: 3.176 MB / 282.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 5.836e-05/0.006208, allocations: 156.6 kB / 354 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.006221, allocations: 15.89 kB / 354 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.006338, allocations: 99.06 kB / 354.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.006342, allocations: 4 kB / 354.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006343, allocations: 0 / 354.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.006347, allocations: 0 / 354.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.006555, allocations: 377.5 kB / 354.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006557, allocations: 4.031 kB / 354.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.006579, allocations: 8 kB / 354.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.00658, allocations: 0 / 354.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.006588, allocations: 4.375 kB / 354.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.006589, allocations: 0 / 354.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.006591, allocations: 4 kB / 354.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.00673, allocations: 255.4 kB / 354.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.006748, allocations: 15.89 kB / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.006767, allocations: 4 kB / 354.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.006813, allocations: 4 kB / 354.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.00684, allocations: 11.92 kB / 354.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.006854, allocations: 4 kB / 354.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.314e-05/0.006907, allocations: 167.1 kB / 355 MB, free: 1.984 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006907, allocations: 3.938 kB / 355 MB, free: 1.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.007085, allocations: 27.98 kB / 355 MB, free: 1.953 MB / 282.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.0008175/0.007902, allocations: 433.5 kB / 355.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.564e-05/0.007998, allocations: 51.53 kB / 355.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.008, allocations: 0 / 355.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.008036, allocations: 39.81 kB / 355.5 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.00827, allocations: 39.97 kB / 355.6 MB, free: 1.488 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.008583, allocations: 217.1 kB / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.188e-05/0.008625, allocations: 71.33 kB / 355.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.366e-05/0.008658, allocations: 12.48 kB / 355.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.008726, allocations: 90.19 kB / 355.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of SimCode: time 1.512e-06/0.008728, allocations: 0 / 355.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of Templates: time 0.003908/0.01264, allocations: 2.02 MB / 358 MB, free: 15.05 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.0493184798397124]