Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001503/0.001503, allocations: 81.88 kB / 21.42 MB, free: 3.07 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.001458/0.001458, allocations: 168.4 kB / 24.82 MB, free: 8.871 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.132/1.132, allocations: 177.2 MB / 205.3 MB, free: 5.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.3382/0.3382, allocations: 34.26 MB / 296.1 MB, free: 0.707 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 378.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.468e-05/3.758e-05, allocations: 2.312 kB / 378.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.004181/0.004219, allocations: 1.758 MB / 380.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.007042, allocations: 1.718 MB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.007192, allocations: 4 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.007568, allocations: 39.77 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005507/0.008119, allocations: 107.3 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.00844, allocations: 79.66 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.008685, allocations: 107.6 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.008832, allocations: 7.984 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.008976, allocations: 55.83 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.009129, allocations: 39.89 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.009151, allocations: 4 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.009445, allocations: 107.8 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.009532, allocations: 27.86 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.009588, allocations: 19.92 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.01001, allocations: 155.5 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.01001, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.027e-06/0.01002, allocations: 0 / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.01003, allocations: 0 / 382.8 MB, free: 14.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007728/0.0108, allocations: 459.7 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.01085, allocations: 12.03 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.01092, allocations: 8.891 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.01117, allocations: 149 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.01119, allocations: 4.375 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.01122, allocations: 4.375 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.01146, allocations: 119.3 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.01148, allocations: 3.953 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.01149, allocations: 3.984 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.0115, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.982e-05/0.01155, allocations: 8 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.012, allocations: 256.4 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.01214, allocations: 59.03 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.01217, allocations: 23.69 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.0122, allocations: 0 / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.01236, allocations: 65.03 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.01237, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004978/0.01286, allocations: 133.4 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.01293, allocations: 81.11 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.01312, allocations: 216.8 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.01315, allocations: 25.7 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/0.01323, allocations: 146.8 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.01327, allocations: 27.78 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.01333, allocations: 39.3 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.01353, allocations: 0.5 MB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.354e-05/0.01357, allocations: 4 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-05/0.01363, allocations: 68.69 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.877e-05/0.0137, allocations: 55.41 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.0137, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.01385, allocations: 81.53 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.01387, allocations: 4 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.01388, allocations: 8.062 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.0139, allocations: 0 / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.014, allocations: 19.98 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.01401, allocations: 0 / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.01406, allocations: 4 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.01407, allocations: 0 / 385.4 MB, free: 11.25 MB / 362.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 0.0001314/0.0142, allocations: 168.5 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.01423, allocations: 11.95 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.01448, allocations: 98.38 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01448, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01449, allocations: 4 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.01449, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.01496, allocations: 369.5 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01497, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.01502, allocations: 12.38 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.01503, allocations: 3.984 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.01504, allocations: 4 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.01504, allocations: 4 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01505, allocations: 0 / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.01529, allocations: 247.4 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.01532, allocations: 11.98 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.01534, allocations: 8 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.743e-05/0.01542, allocations: 3.984 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.01545, allocations: 4 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.01547, allocations: 7.984 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.063e-05/0.01556, allocations: 161.6 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01556, allocations: 0 / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003065/0.01587, allocations: 47.75 kB / 386.5 MB, free: 10.03 MB / 362.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.001609/0.01748, allocations: 0.5441 MB / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.01765, allocations: 59.53 kB / 387.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01765, allocations: 0 / 387.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.928e-05/0.0177, allocations: 27.67 kB / 387.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.01805, allocations: 37.3 kB / 387.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000517/0.01857, allocations: 201.9 kB / 387.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.01894, allocations: 67.34 kB / 387.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.98e-05/0.01901, allocations: 21.38 kB / 387.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.01913, allocations: 102.2 kB / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01913, allocations: 0 / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of Templates: time 0.004842/0.02397, allocations: 2.771 MB / 390.3 MB, free: 6.371 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.476344972848892]