Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0009663/0.0009663, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001035/0.001035, allocations: 165.8 kB / 24.99 MB, free: 8.336 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 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2869/0.2869, allocations: 34.26 MB / 296 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 378.1 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.143e-05, allocations: 9.484 kB / 378.1 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002825/0.002846, allocations: 1.937 MB / 380.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.004335, allocations: 1.095 MB / 381.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.004463, allocations: 4 kB / 381.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.004876, allocations: 259.1 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004287/0.005305, allocations: 239 kB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.005559, allocations: 119.5 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.005835, allocations: 279.2 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.005939, allocations: 17.95 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.006088, allocations: 159.6 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.00626, allocations: 195.6 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.00628, allocations: 8 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.00638, allocations: 67.91 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.006453, allocations: 71.69 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.006507, allocations: 43.8 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.006752, allocations: 199.2 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006754, allocations: 4 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006755, allocations: 0 / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.00676, allocations: 3.938 kB / 382.8 MB, free: 14.22 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006011/0.007361, allocations: 0.6234 MB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.007399, allocations: 12.03 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.007473, allocations: 44.69 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.007695, allocations: 227 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.007716, allocations: 8.375 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.007738, allocations: 4.375 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.007906, allocations: 122.1 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.007921, allocations: 11.92 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.007932, allocations: 4 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.007939, allocations: 4 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.007997, allocations: 27.97 kB / 383.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.008439, allocations: 0.5258 MB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.00866, allocations: 118.1 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.008706, allocations: 35.48 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.008719, allocations: 4 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.008858, allocations: 112.4 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.008859, allocations: 7.938 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008418/0.009701, allocations: 484.7 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.009742, allocations: 85.05 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.01002, allocations: 430.8 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.01004, allocations: 33.69 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.01014, allocations: 223.3 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.0102, allocations: 75.39 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.01025, allocations: 47.36 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003651/0.01061, allocations: 0.5274 MB / 386.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.305e-05/0.01067, allocations: 35.97 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-05/0.01074, allocations: 86.59 kB / 386.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.01086, allocations: 118.7 kB / 386.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01086, allocations: 4 kB / 386.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002125/0.01107, allocations: 205.5 kB / 387 MB, free: 9.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01109, allocations: 8 kB / 387 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.01109, allocations: 4.062 kB / 387 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01111, allocations: 0 / 387 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.01119, allocations: 47.91 kB / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.0112, allocations: 3.938 kB / 387 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.01125, allocations: 8 kB / 387 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01126, allocations: 12 kB / 387.1 MB, free: 9.656 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.74e-05/0.01135, allocations: 172.5 kB / 387.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.01138, allocations: 43.77 kB / 387.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.01165, allocations: 237.3 kB / 387.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01165, allocations: 8 kB / 387.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01166, allocations: 3.938 kB / 387.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01166, allocations: 0 / 387.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.0122, allocations: 0.7606 MB / 388.3 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.0122, allocations: 3.938 kB / 388.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.01225, allocations: 31.98 kB / 388.3 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01226, allocations: 4 kB / 388.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.01227, allocations: 11.94 kB / 388.3 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01227, allocations: 4.125 kB / 388.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.01228, allocations: 11.94 kB / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.01256, allocations: 0.5052 MB / 388.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.01258, allocations: 31.77 kB / 388.9 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.01261, allocations: 8 kB / 388.9 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.01268, allocations: 11.98 kB / 388.9 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.01273, allocations: 23.91 kB / 388.9 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.01275, allocations: 11.98 kB / 388.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001703/0.01292, allocations: 303 kB / 389.2 MB, free: 7.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01292, allocations: 0 / 389.2 MB, free: 7.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.01317, allocations: 59.92 kB / 389.3 MB, free: 7.316 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001029/0.01419, allocations: 485 kB / 389.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.01439, allocations: 134.3 kB / 389.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01439, allocations: 0 / 389.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/0.01447, allocations: 79.52 kB / 390 MB, free: 6.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.01481, allocations: 75.02 kB / 390 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.01539, allocations: 0.5286 MB / 390.6 MB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.422e-05/0.01545, allocations: 100.3 kB / 390.7 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.822e-05/0.01552, allocations: 37.91 kB / 390.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.01557, allocations: 32.5 kB / 390.7 MB, free: 5.973 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01557, allocations: 4 kB / 390.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of Templates: time 0.005472/0.02104, allocations: 3.357 MB / 394.1 MB, free: 2.664 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.4059189441613853]