Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.001173/0.001173, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001048/0.001048, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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.06/1.06, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1703/0.1703, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.789e-05/4.104e-05, allocations: 8.219 kB / 347.8 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002942/0.002983, allocations: 1.691 MB / 349.4 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.004117, allocations: 0.7765 MB / 350.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.004197, allocations: 0 / 350.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.004576, allocations: 71.66 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.004835, allocations: 71.61 kB / 350.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.005071, allocations: 75.77 kB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.005266, allocations: 107.7 kB / 350.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.005311, allocations: 7.938 kB / 350.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.005411, allocations: 55.78 kB / 350.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.005525, allocations: 43.88 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.005547, allocations: 4 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.238e-05/0.00563, allocations: 27.98 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.005686, allocations: 27.91 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.005729, allocations: 7.938 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.005924, allocations: 91.66 kB / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.005927, allocations: 0 / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005929, allocations: 0 / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.005934, allocations: 4 kB / 350.8 MB, free: 6.297 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004558/0.00639, allocations: 431.9 kB / 351.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.006432, allocations: 12.03 kB / 351.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.006497, allocations: 8.891 kB / 351.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.006678, allocations: 148.4 kB / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.006699, allocations: 4.312 kB / 351.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.006711, allocations: 384 / 351.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.006858, allocations: 54.94 kB / 351.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006868, allocations: 7.938 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.006879, allocations: 0 / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.006888, allocations: 4 kB / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.00693, allocations: 11.98 kB / 351.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.00709, allocations: 140.6 kB / 351.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.007219, allocations: 47.09 kB / 351.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.007253, allocations: 19.69 kB / 351.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.007267, allocations: 0 / 351.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.007389, allocations: 69 kB / 351.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.00739, allocations: 0 / 351.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002297/0.00762, allocations: 93.5 kB / 351.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.00765, allocations: 51.41 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.007776, allocations: 224.1 kB / 352.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.00779, allocations: 29.7 kB / 352.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.007832, allocations: 142.9 kB / 352.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.007868, allocations: 23.88 kB / 352.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.007907, allocations: 23.38 kB / 352.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.007971, allocations: 0.4923 MB / 352.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.007998, allocations: 8 kB / 352.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.724e-05/0.008035, allocations: 31.36 kB / 352.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.856e-05/0.008094, allocations: 39.31 kB / 352.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.008096, allocations: 0 / 352.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001134/0.00821, allocations: 77.83 kB / 353 MB, free: 3.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.008225, allocations: 4 kB / 353 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.008232, allocations: 3.938 kB / 353 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.00825, allocations: 0 / 353 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/0.008347, allocations: 15.98 kB / 353 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.008353, allocations: 0 / 353 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.008395, allocations: 4 kB / 353 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.008403, allocations: 4 kB / 353 MB, free: 3.883 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 (7): * Single equations (assignments): 7 * 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.775e-05/0.00847, allocations: 160.6 kB / 353.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.008491, allocations: 15.91 kB / 353.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.008662, allocations: 97.94 kB / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.008666, allocations: 3.938 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.00867, allocations: 0 / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.008674, allocations: 0 / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.899e-05/0.008773, allocations: 136.6 kB / 353.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.008776, allocations: 0 / 353.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.008805, allocations: 8 kB / 353.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.008809, allocations: 0 / 353.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.008818, allocations: 4 kB / 353.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.00882, allocations: 7.938 kB / 353.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.008821, allocations: 0 / 353.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.008944, allocations: 116.3 kB / 353.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.008962, allocations: 11.95 kB / 353.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.008983, allocations: 0 / 353.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.009017, allocations: 7.938 kB / 353.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.009058, allocations: 3.984 kB / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.009076, allocations: 4.188 kB / 353.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.509e-05/0.009152, allocations: 164 kB / 353.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009152, allocations: 4 kB / 353.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000251/0.009403, allocations: 19.98 kB / 353.7 MB, free: 3.059 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001065/0.01047, allocations: 398.4 kB / 354.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.01062, allocations: 43.61 kB / 354.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01062, allocations: 0 / 354.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.125e-05/0.01066, allocations: 19.69 kB / 354.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.01095, allocations: 33.22 kB / 354.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.01141, allocations: 189.3 kB / 354.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.512e-05/0.01145, allocations: 63.34 kB / 354.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.705e-05/0.0115, allocations: 8.484 kB / 354.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.01153, allocations: 20.56 kB / 354.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01153, allocations: 0 / 354.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of Templates: time 0.004834/0.01637, allocations: 1.738 MB / 356.2 MB, free: 0.6055 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.303858219180256]