Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001538/0.001538, allocations: 84.47 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.001637/0.001637, allocations: 164.4 kB / 23.96 MB, free: 4.145 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.404/1.404, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.1998/0.1998, allocations: 32.81 MB / 293.5 MB, free: 28 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.567e-05, allocations: 2.281 kB / 440.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002867/0.002892, allocations: 1.716 MB / 441.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.004682, allocations: 0.9781 MB / 442.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.08e-05/0.004753, allocations: 7.938 kB / 442.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.005043, allocations: 35.77 kB / 442.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.005365, allocations: 103.4 kB / 443 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.005603, allocations: 75.66 kB / 443.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.005792, allocations: 111.6 kB / 443.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.653e-05/0.005889, allocations: 15.97 kB / 443.2 MB, free: 5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.005998, allocations: 51.84 kB / 443.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.257e-05/0.00609, allocations: 39.88 kB / 443.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.006112, allocations: 7.938 kB / 443.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.006309, allocations: 111.8 kB / 443.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-05/0.006385, allocations: 15.92 kB / 443.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.006436, allocations: 31.86 kB / 443.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.006748, allocations: 179.4 kB / 443.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.006752, allocations: 0 / 443.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006753, allocations: 0 / 443.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.006757, allocations: 4 kB / 443.7 MB, free: 4.566 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.0006556/0.007413, allocations: 357.4 kB / 444 MB, free: 4.188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.007449, allocations: 8.031 kB / 444 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.007505, allocations: 12.84 kB / 444 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.007743, allocations: 149.6 kB / 444.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.007763, allocations: 8.375 kB / 444.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.007783, allocations: 384 / 444.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.007985, allocations: 101.6 kB / 444.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.008, allocations: 3.938 kB / 444.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.008012, allocations: 7.938 kB / 444.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.008016, allocations: 4 kB / 444.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.364e-05/0.0081, allocations: 27.92 kB / 444.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.008452, allocations: 212.6 kB / 444.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.008664, allocations: 62.61 kB / 444.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.044e-05/0.008734, allocations: 28.97 kB / 444.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.008754, allocations: 3.938 kB / 444.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.008927, allocations: 75.31 kB / 444.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 5.771e-06/0.008932, allocations: 4 kB / 444.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006706/0.009603, allocations: 217.3 kB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.009667, allocations: 77.11 kB / 445 MB, free: 3.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.00986, allocations: 173.2 kB / 445.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.009882, allocations: 29.7 kB / 445.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.009951, allocations: 100.1 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.00999, allocations: 35.69 kB / 445.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.01004, allocations: 29.72 kB / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.0102, allocations: 326.8 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.01028, allocations: 27.98 kB / 445.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.01039, allocations: 84.25 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.01055, allocations: 85.64 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01055, allocations: 0 / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002512/0.0108, allocations: 125.5 kB / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01081, allocations: 8 kB / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01082, allocations: 0 / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.01084, allocations: 0 / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.01095, allocations: 24.08 kB / 446 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01095, allocations: 3.938 kB / 446 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.01101, allocations: 4.062 kB / 446 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.01102, allocations: 8 kB / 446 MB, free: 1.98 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 (13): * Single equations (assignments): 13 * 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.0001302/0.01115, allocations: 133.7 kB / 446.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.01118, allocations: 15.89 kB / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.01148, allocations: 138.4 kB / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.01148, allocations: 4 kB / 446.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01149, allocations: 0 / 446.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01149, allocations: 0 / 446.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.01204, allocations: 374.8 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01204, allocations: 0 / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.01209, allocations: 19.98 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01209, allocations: 0 / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.01211, allocations: 8 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01211, allocations: 0 / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01211, allocations: 0 / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.01244, allocations: 232.2 kB / 446.9 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.01246, allocations: 11.89 kB / 446.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.01249, allocations: 4 kB / 447 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.01257, allocations: 12.02 kB / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.01262, allocations: 7.938 kB / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.01264, allocations: 11.98 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.01278, allocations: 127.2 kB / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01278, allocations: 0 / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.01311, allocations: 55.8 kB / 447.2 MB, free: 0.7734 MB / 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 (11): * Single equations (assignments): 9 * 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.002213/0.01532, allocations: 0.5919 MB / 447.8 MB, free: 436 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.01554, allocations: 75.84 kB / 447.8 MB, free: 360 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01554, allocations: 0 / 447.8 MB, free: 360 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.504e-05/0.01562, allocations: 31.98 kB / 447.9 MB, free: 328 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.01595, allocations: 38.72 kB / 447.9 MB, free: 292 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.01647, allocations: 226 kB / 448.1 MB, free: 36 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1565/0.1729, allocations: 90.55 kB / 448.2 MB, free: 21.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.1731, allocations: 20.16 kB / 448.2 MB, free: 21.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.1731, allocations: 21.52 kB / 448.2 MB, free: 21.11 MB / 366.1 MB Notification: Performance of SimCode: time 1.192e-06/0.1731, allocations: 0 / 448.2 MB, free: 21.11 MB / 366.1 MB Notification: Performance of Templates: time 0.006107/0.1792, allocations: 2.663 MB / 450.9 MB, free: 20.92 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.617279265075922]