Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.0009945/0.0009945, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001109/0.001109, allocations: 168.4 kB / 25.61 MB, free: 8.586 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 0.9323/0.9323, allocations: 177.2 MB / 206.1 MB, free: 4.461 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.1679/0.1679, allocations: 34.25 MB / 296.9 MB, free: 13.91 MB / 282.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.188e-05, allocations: 6.25 kB / 379.4 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.0018/0.001812, allocations: 1.91 MB / 381.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.00286, allocations: 1.091 MB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.964e-05/0.00294, allocations: 0 / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.003274, allocations: 259.1 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.003561, allocations: 247 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.003728, allocations: 107.6 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.003916, allocations: 283.2 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.004009, allocations: 21.89 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.004124, allocations: 159.6 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.004258, allocations: 195.5 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.004276, allocations: 12 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.891e-05/0.004355, allocations: 63.92 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.00441, allocations: 63.77 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.00445, allocations: 51.72 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.004619, allocations: 203.2 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004621, allocations: 0 / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.31e-07/0.004621, allocations: 0 / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.004625, allocations: 0 / 384 MB, free: 18.63 MB / 314.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.0003965/0.005022, allocations: 0.6389 MB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.585e-05/0.005048, allocations: 8.031 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.005089, allocations: 36.7 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.005236, allocations: 231 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.005251, allocations: 8.375 kB / 384.9 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.005268, allocations: 8.328 kB / 385 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.005379, allocations: 117.4 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.005392, allocations: 7.922 kB / 385.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.005401, allocations: 4 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.005407, allocations: 4 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.818e-05/0.005446, allocations: 23.95 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.005701, allocations: 475.1 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.005861, allocations: 122 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.005895, allocations: 35.48 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.005907, allocations: 4 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.006011, allocations: 111.8 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.006012, allocations: 0 / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005365/0.006548, allocations: 386 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.006571, allocations: 77.11 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.00673, allocations: 426.5 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.006742, allocations: 25.7 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.006808, allocations: 227.3 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.006847, allocations: 83.34 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.006889, allocations: 51.34 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.006958, allocations: 0.5274 MB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.006985, allocations: 23.98 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.007029, allocations: 72.39 kB / 387.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.976e-05/0.007109, allocations: 126.8 kB / 387.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007111, allocations: 4 kB / 387.8 MB, free: 14.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001476/0.007258, allocations: 185.2 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.007269, allocations: 7.984 kB / 388 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007273, allocations: 0 / 388 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.007282, allocations: 4 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.007357, allocations: 43.92 kB / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-06/0.00736, allocations: 8.062 kB / 388.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.007403, allocations: 11.94 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.007411, allocations: 7.984 kB / 388.1 MB, free: 14.29 MB / 314.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 6.024e-05/0.007471, allocations: 172.5 kB / 388.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.007501, allocations: 39.77 kB / 388.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.007698, allocations: 216.7 kB / 388.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.0077, allocations: 4 kB / 388.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.007702, allocations: 0 / 388.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.007707, allocations: 7.922 kB / 388.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.008076, allocations: 0.6987 MB / 389.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.008079, allocations: 4 kB / 389.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.008128, allocations: 31.92 kB / 389.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.008131, allocations: 7.938 kB / 389.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.008141, allocations: 8 kB / 389.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.008143, allocations: 4 kB / 389.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008144, allocations: 0 / 389.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.008329, allocations: 0.5006 MB / 389.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.008349, allocations: 39.7 kB / 389.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.008372, allocations: 7.938 kB / 389.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.008447, allocations: 15.98 kB / 389.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.00848, allocations: 23.91 kB / 389.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.008494, allocations: 11.98 kB / 389.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.254e-05/0.008586, allocations: 279 kB / 390.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008586, allocations: 0 / 390.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.008812, allocations: 47.94 kB / 390.2 MB, free: 12.08 MB / 314.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.0009524/0.009765, allocations: 498.1 kB / 390.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.009903, allocations: 115.4 kB / 390.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.009904, allocations: 0 / 390.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.009961, allocations: 63.91 kB / 390.9 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.01029, allocations: 72.38 kB / 390.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.01076, allocations: 0.5224 MB / 391.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.01081, allocations: 104.2 kB / 391.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.36e-05/0.01087, allocations: 45.91 kB / 391.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/0.01096, allocations: 118.2 kB / 391.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01096, allocations: 0 / 391.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of Templates: time 0.004586/0.01555, allocations: 3.753 MB / 395.5 MB, free: 6.984 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.1309722890146077]