Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.001153/0.001153, 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.001388/0.001388, allocations: 173 kB / 24.05 MB, free: 456 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.046/1.046, allocations: 158.6 MB / 186 MB, free: 2.801 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.1437/0.1437, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.654e-06/2.654e-06, allocations: 0 / 348.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.418e-05/3.684e-05, allocations: 2.312 kB / 348.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002414/0.002451, allocations: 1.732 MB / 349.9 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.003524, allocations: 0.7882 MB / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.00364, allocations: 3.938 kB / 350.7 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.004018, allocations: 51.75 kB / 350.8 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.004255, allocations: 59.75 kB / 350.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.004471, allocations: 95.62 kB / 350.9 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.004603, allocations: 95.64 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.004693, allocations: 8.219 kB / 351 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.859e-05/0.004791, allocations: 55.83 kB / 351.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.881e-05/0.00486, allocations: 23.91 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.004879, allocations: 4 kB / 351.1 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.806e-05/0.004957, allocations: 43.92 kB / 351.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.446e-05/0.005001, allocations: 27.86 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.005039, allocations: 19.92 kB / 351.2 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.005202, allocations: 115.5 kB / 351.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.005206, allocations: 0 / 351.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.005207, allocations: 4 kB / 351.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005212, allocations: 0 / 351.3 MB, free: 5.973 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.00037/0.005582, allocations: 475.6 kB / 351.8 MB, free: 5.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.005626, allocations: 12.03 kB / 351.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.005668, allocations: 16.84 kB / 351.8 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.005807, allocations: 152.4 kB / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.005823, allocations: 384 / 352 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.005841, allocations: 4.375 kB / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.005957, allocations: 58.94 kB / 352 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005966, allocations: 3.938 kB / 352 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005974, allocations: 15.92 kB / 352 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.005981, allocations: 3.984 kB / 352 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.006007, allocations: 7.938 kB / 352.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.006263, allocations: 272.4 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.564e-05/0.006348, allocations: 51.17 kB / 352.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.006369, allocations: 11.69 kB / 352.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.006386, allocations: 0 / 352.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.124e-05/0.006478, allocations: 76.91 kB / 352.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.006478, allocations: 4 kB / 352.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000308/0.006786, allocations: 141.4 kB / 352.6 MB, free: 4.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.006806, allocations: 51.41 kB / 352.6 MB, free: 4.496 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.006914, allocations: 265.3 kB / 352.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.006926, allocations: 33.7 kB / 352.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.006969, allocations: 162.8 kB / 353.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.006994, allocations: 31.73 kB / 353.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.007026, allocations: 31.36 kB / 353.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.007092, allocations: 0.5001 MB / 353.7 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.007109, allocations: 8 kB / 353.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/0.007135, allocations: 35.34 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.457e-05/0.007179, allocations: 47.3 kB / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.00718, allocations: 0 / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.62e-05/0.007277, allocations: 97.53 kB / 353.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.007289, allocations: 4 kB / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.007295, allocations: 80 / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.007308, allocations: 0 / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.007376, allocations: 19.98 kB / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.00738, allocations: 3.984 kB / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.007409, allocations: 4.031 kB / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.007415, allocations: 8 kB / 353.9 MB, free: 3.188 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 6.195e-05/0.007477, allocations: 156.6 kB / 354 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.007496, allocations: 23.78 kB / 354.1 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.007628, allocations: 99.12 kB / 354.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.007632, allocations: 4 kB / 354.2 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.007635, allocations: 0 / 354.2 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.00764, allocations: 3.984 kB / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.007855, allocations: 361.6 kB / 354.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.007857, allocations: 7.969 kB / 354.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.007885, allocations: 15.94 kB / 354.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.007888, allocations: 3.984 kB / 354.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.007894, allocations: 4.375 kB / 354.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.007896, allocations: 4 kB / 354.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.007898, allocations: 4 kB / 354.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.008004, allocations: 251.4 kB / 354.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.008017, allocations: 15.91 kB / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.008032, allocations: 0 / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.661e-05/0.008079, allocations: 4 kB / 354.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.008104, allocations: 7.984 kB / 354.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.008117, allocations: 8 kB / 354.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.008167, allocations: 184.4 kB / 355 MB, free: 1.973 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008167, allocations: 0 / 355 MB, free: 1.973 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.008338, allocations: 27.92 kB / 355 MB, free: 1.945 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.0008719/0.00921, allocations: 431.4 kB / 355.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.009336, allocations: 51.53 kB / 355.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009338, allocations: 0 / 355.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.576e-05/0.009373, allocations: 31.89 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.000253/0.009626, allocations: 43.91 kB / 355.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.01001, allocations: 257.6 kB / 355.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.627e-05/0.01004, allocations: 72.27 kB / 355.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.295e-05/0.01007, allocations: 16.47 kB / 355.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.01013, allocations: 86.19 kB / 356 MB, free: 1.012 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01013, allocations: 0 / 356 MB, free: 1.012 MB / 282.7 MB Notification: Performance of Templates: time 0.004287/0.01442, allocations: 2.028 MB / 358 MB, free: 15 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.2378768287599087]