Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001882/0.001882, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.002388/0.002388, allocations: 164.5 kB / 23.95 MB, free: 4.168 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.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.2003/0.2003, allocations: 32.8 MB / 293.5 MB, free: 44 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 440.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.419e-05, allocations: 2.281 kB / 440.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002928/0.002952, allocations: 1.716 MB / 441.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.004709, allocations: 0.9703 MB / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.004784, allocations: 4 kB / 442.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.005054, allocations: 47.75 kB / 442.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.005408, allocations: 103.5 kB / 443 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.005629, allocations: 87.53 kB / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.00582, allocations: 107.7 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.00591, allocations: 8 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.006029, allocations: 55.77 kB / 443.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.006107, allocations: 27.91 kB / 443.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.006128, allocations: 4 kB / 443.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.006232, allocations: 43.97 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.006294, allocations: 27.86 kB / 443.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.006336, allocations: 15.94 kB / 443.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.006581, allocations: 147.5 kB / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.006584, allocations: 0 / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006585, allocations: 0 / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.006593, allocations: 4 kB / 443.5 MB, free: 4.707 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.0005782/0.007172, allocations: 365.3 kB / 443.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.007212, allocations: 15.97 kB / 443.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.007258, allocations: 20.78 kB / 443.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.007498, allocations: 162.5 kB / 444.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.007506, allocations: 384 / 444.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.007532, allocations: 8.359 kB / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.007683, allocations: 54.23 kB / 444.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.007696, allocations: 3.938 kB / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.007705, allocations: 4 kB / 444.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.007708, allocations: 0 / 444.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.668e-05/0.007785, allocations: 19.98 kB / 444.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.00814, allocations: 240.5 kB / 444.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.008313, allocations: 54.67 kB / 444.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.952e-05/0.008373, allocations: 28.72 kB / 444.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.008387, allocations: 8 kB / 444.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.008541, allocations: 63.33 kB / 444.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.008543, allocations: 0 / 444.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005818/0.009124, allocations: 205.2 kB / 444.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.009166, allocations: 55.39 kB / 444.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.009452, allocations: 284 kB / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.009472, allocations: 25.7 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.009555, allocations: 116.1 kB / 445.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.009587, allocations: 23.8 kB / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.009631, allocations: 25.7 kB / 445.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.00978, allocations: 326.8 kB / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.21e-05/0.009842, allocations: 23.98 kB / 445.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.432e-05/0.009926, allocations: 41.7 kB / 445.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.01005, allocations: 61.64 kB / 445.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01005, allocations: 3.938 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002053/0.01026, allocations: 105.6 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01027, allocations: 4 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01028, allocations: 4 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.0103, allocations: 3.984 kB / 445.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.01038, allocations: 15.94 kB / 445.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.01039, allocations: 0 / 445.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.079e-05/0.01044, allocations: 12.39 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.01045, allocations: 11.94 kB / 445.9 MB, free: 2.172 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.0001176/0.01057, allocations: 141.5 kB / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.0106, allocations: 15.86 kB / 446 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.01087, allocations: 127.1 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01087, allocations: 4 kB / 446.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01088, allocations: 0 / 446.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01088, allocations: 0 / 446.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.01135, allocations: 367.2 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01136, allocations: 0 / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.01139, allocations: 8 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.0114, allocations: 3.938 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01141, allocations: 4 kB / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01141, allocations: 0 / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01141, allocations: 0 / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.01169, allocations: 220.2 kB / 446.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.01171, allocations: 19.91 kB / 446.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01173, allocations: 0 / 446.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.01181, allocations: 4 kB / 446.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.01184, allocations: 8.016 kB / 446.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.01186, allocations: 11.94 kB / 446.8 MB, free: 1.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002016/0.01206, allocations: 212.3 kB / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01206, allocations: 0 / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.01232, allocations: 27.94 kB / 447 MB, free: 0.9492 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 (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.001778/0.0141, allocations: 0.4926 MB / 447.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.01429, allocations: 51.92 kB / 447.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.01429, allocations: 4 kB / 447.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.382e-05/0.01439, allocations: 31.97 kB / 447.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.01473, allocations: 39.03 kB / 447.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.01526, allocations: 294.8 kB / 447.9 MB, free: 236 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.01537, allocations: 109.2 kB / 448 MB, free: 104 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.875e-05/0.01542, allocations: 16.97 kB / 448.1 MB, free: 88 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.01546, allocations: 16.5 kB / 448.1 MB, free: 72 kB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01546, allocations: 0 / 448.1 MB, free: 72 kB / 366.1 MB Notification: Performance of Templates: time 0.1594/0.1748, allocations: 1.873 MB / 449.9 MB, free: 21.12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.546708129346371]