Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001353/0.001353, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001398/0.001398, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.411/1.411, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2004/0.2004, allocations: 32.81 MB / 293.5 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 440.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.242e-05, allocations: 2.281 kB / 440.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00291/0.002932, allocations: 1.715 MB / 441.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.005686, allocations: 1.656 MB / 443.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.549e-05/0.005781, allocations: 7.938 kB / 443.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.006065, allocations: 35.77 kB / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.006504, allocations: 107.4 kB / 443.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.006744, allocations: 75.67 kB / 443.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.00696, allocations: 111.6 kB / 443.9 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.007055, allocations: 8 kB / 443.9 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.007185, allocations: 55.83 kB / 443.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.007318, allocations: 43.83 kB / 444 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.007341, allocations: 4 kB / 444 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.0076, allocations: 107.8 kB / 444.1 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.007666, allocations: 23.91 kB / 444.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.007717, allocations: 23.92 kB / 444.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.008068, allocations: 171.5 kB / 444.3 MB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.008071, allocations: 3.938 kB / 444.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.008072, allocations: 0 / 444.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.008076, allocations: 4 kB / 444.3 MB, free: 3.922 MB / 366.1 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.0006252/0.008701, allocations: 353.4 kB / 444.7 MB, free: 3.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.008737, allocations: 12.03 kB / 444.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.008788, allocations: 12.83 kB / 444.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.009046, allocations: 153.2 kB / 444.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.009058, allocations: 384 / 444.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.009084, allocations: 8.328 kB / 444.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.009299, allocations: 101 kB / 444.9 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.00931, allocations: 4 kB / 445 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.00932, allocations: 0 / 445 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.009324, allocations: 0 / 445 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.398e-05/0.009408, allocations: 27.92 kB / 445 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.009758, allocations: 224.5 kB / 445.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.00994, allocations: 58.67 kB / 445.3 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.009996, allocations: 16.86 kB / 445.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.01001, allocations: 4 kB / 445.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.01016, allocations: 75.31 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.01016, allocations: 0 / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005563/0.01072, allocations: 181.4 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.01079, allocations: 77.11 kB / 445.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.01099, allocations: 177.3 kB / 445.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.01101, allocations: 29.7 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.01108, allocations: 100.1 kB / 445.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.01111, allocations: 19.86 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.01115, allocations: 29.7 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.01132, allocations: 322.8 kB / 446.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.314e-05/0.01138, allocations: 20 kB / 446.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.01148, allocations: 68.27 kB / 446.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.01161, allocations: 69.7 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.01161, allocations: 0 / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002271/0.01184, allocations: 101.6 kB / 446.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.01185, allocations: 4 kB / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01186, allocations: 0 / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.01187, allocations: 8.062 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.01197, allocations: 24.48 kB / 446.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.01198, allocations: 0 / 446.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.01203, allocations: 7.938 kB / 446.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.01204, allocations: 4 kB / 446.6 MB, free: 1.469 MB / 366.1 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.0001268/0.01217, allocations: 134.4 kB / 446.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.0122, allocations: 7.953 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.01249, allocations: 118.4 kB / 446.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.0125, allocations: 4 kB / 446.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.0125, allocations: 4 kB / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.01251, allocations: 0 / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.01301, allocations: 362.8 kB / 447.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01301, allocations: 0 / 447.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.01305, allocations: 8 kB / 447.2 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01306, allocations: 0 / 447.2 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.01307, allocations: 7.984 kB / 447.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.01307, allocations: 0 / 447.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.01308, allocations: 3.938 kB / 447.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.01335, allocations: 208.3 kB / 447.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.01337, allocations: 15.98 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.0134, allocations: 3.984 kB / 447.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.01347, allocations: 7.938 kB / 447.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.01351, allocations: 15.92 kB / 447.4 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.01353, allocations: 7.938 kB / 447.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.01366, allocations: 129.5 kB / 447.6 MB, free: 384 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01366, allocations: 0 / 447.6 MB, free: 384 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.01396, allocations: 47.86 kB / 447.6 MB, free: 336 kB / 366.1 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.1622/0.1762, allocations: 0.5946 MB / 448.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.1765, allocations: 55.55 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1765, allocations: 1.062 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.1765, allocations: 32.23 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1769, allocations: 29.94 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.1774, allocations: 210.5 kB / 448.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.691e-05/0.1774, allocations: 83.92 kB / 448.6 MB, free: 21.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.1775, allocations: 22.69 kB / 448.6 MB, free: 21.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.1775, allocations: 21.48 kB / 448.7 MB, free: 21.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1775, allocations: 2.031 kB / 448.7 MB, free: 21.23 MB / 366.1 MB Notification: Performance of Templates: time 0.006318/0.1839, allocations: 2.509 MB / 451.2 MB, free: 21.06 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.518518544733524]