Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.001016/0.001016, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001221/0.001221, allocations: 173 kB / 24.06 MB, free: 452 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 0.9986/0.9986, allocations: 158.6 MB / 186 MB, free: 2.777 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.1406/0.1406, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.447e-05, allocations: 6.25 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002108/0.002122, allocations: 1.725 MB / 349.9 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009156/0.003038, allocations: 0.792 MB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.00311, allocations: 0 / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.003372, allocations: 51.69 kB / 350.8 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.003549, allocations: 51.77 kB / 350.8 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.003732, allocations: 79.7 kB / 350.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.003855, allocations: 107.6 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.75e-05/0.003932, allocations: 8.219 kB / 351 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.768e-05/0.00401, allocations: 47.91 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.004071, allocations: 27.91 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.004086, allocations: 4 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.231e-05/0.004159, allocations: 43.92 kB / 351.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.004198, allocations: 27.84 kB / 351.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.004231, allocations: 23.86 kB / 351.2 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.004368, allocations: 95.66 kB / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.634e-06/0.00437, allocations: 0 / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.00437, allocations: 0 / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.004374, allocations: 0 / 351.3 MB, free: 5.996 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.0003084/0.004682, allocations: 447.8 kB / 351.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.004716, allocations: 16.02 kB / 351.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.004751, allocations: 16.84 kB / 351.7 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.004866, allocations: 153.7 kB / 351.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.004879, allocations: 384 / 351.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.004895, allocations: 4.375 kB / 351.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.538e-05/0.004981, allocations: 58.94 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.004989, allocations: 3.938 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.004996, allocations: 0 / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005001, allocations: 4 kB / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.005026, allocations: 7.984 kB / 352 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.005206, allocations: 272.4 kB / 352.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/0.005283, allocations: 55.11 kB / 352.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.005302, allocations: 11.69 kB / 352.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.005315, allocations: 3.984 kB / 352.3 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.793e-05/0.005383, allocations: 68.97 kB / 352.4 MB, free: 4.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.005384, allocations: 0 / 352.4 MB, free: 4.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002805/0.005664, allocations: 129.5 kB / 352.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/0.005681, allocations: 59.41 kB / 352.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.005774, allocations: 235.9 kB / 352.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.005781, allocations: 25.7 kB / 352.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.005824, allocations: 154.8 kB / 353 MB, free: 4.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.005847, allocations: 31.78 kB / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.00588, allocations: 27.36 kB / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.005924, allocations: 0.4962 MB / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.00594, allocations: 7.984 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.005966, allocations: 39.34 kB / 353.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.006008, allocations: 39.36 kB / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006009, allocations: 4 kB / 353.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.783e-05/0.006097, allocations: 93.55 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.006107, allocations: 7.984 kB / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.006111, allocations: 80 / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.006121, allocations: 4 kB / 353.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.006177, allocations: 15.94 kB / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.006181, allocations: 3.984 kB / 353.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.00621, allocations: 4 kB / 353.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.006215, allocations: 3.984 kB / 353.7 MB, free: 3.316 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 4.424e-05/0.006259, allocations: 160.6 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.006276, allocations: 23.86 kB / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.006391, allocations: 99.06 kB / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.006393, allocations: 0 / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006394, allocations: 0 / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006397, allocations: 0 / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.006596, allocations: 365.5 kB / 354.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006597, allocations: 0 / 354.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.006622, allocations: 11.98 kB / 354.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.006624, allocations: 384 / 354.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.00663, allocations: 8 kB / 354.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.006632, allocations: 8.031 kB / 354.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006633, allocations: 0 / 354.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.006737, allocations: 251.4 kB / 354.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.006747, allocations: 11.91 kB / 354.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.006762, allocations: 0 / 354.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.501e-05/0.006817, allocations: 11.98 kB / 354.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.006838, allocations: 3.938 kB / 354.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.006847, allocations: 7.984 kB / 354.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.454e-05/0.006892, allocations: 163.8 kB / 354.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006892, allocations: 0 / 354.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.007113, allocations: 23.94 kB / 354.9 MB, free: 2.109 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.0009074/0.008021, allocations: 439.4 kB / 355.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.632e-05/0.008107, allocations: 55.52 kB / 355.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008108, allocations: 0 / 355.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.258e-05/0.008141, allocations: 27.83 kB / 355.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.008399, allocations: 35.97 kB / 355.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.008656, allocations: 229.2 kB / 355.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.443e-05/0.008691, allocations: 63.34 kB / 355.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.487e-05/0.008726, allocations: 16.48 kB / 355.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.008781, allocations: 90.12 kB / 355.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.008781, allocations: 0 / 355.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of Templates: time 0.003536/0.01232, allocations: 2.019 MB / 357.8 MB, free: 15.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.2138112490065396]