Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.001175/0.001175, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001122/0.001122, allocations: 173 kB / 24.06 MB, free: 456 kB / 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 0.9882/0.9882, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1511/0.1511, allocations: 32.38 MB / 270.7 MB, free: 14.62 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.819e-05, allocations: 10.25 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002723/0.002741, allocations: 1.722 MB / 349.9 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003915, allocations: 0.7882 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.004002, allocations: 0 / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.004334, allocations: 59.69 kB / 350.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.004565, allocations: 55.75 kB / 350.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.004805, allocations: 83.72 kB / 350.9 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.00496, allocations: 107.5 kB / 351 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.005054, allocations: 8.234 kB / 351 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.005165, allocations: 43.91 kB / 351.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.005245, allocations: 31.89 kB / 351.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.005265, allocations: 4 kB / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-05/0.005355, allocations: 43.86 kB / 351.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.005415, allocations: 35.84 kB / 351.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.005457, allocations: 19.94 kB / 351.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.005656, allocations: 115.5 kB / 351.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005658, allocations: 4 kB / 351.3 MB, free: 5.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005658, allocations: 0 / 351.3 MB, free: 5.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.005664, allocations: 0 / 351.3 MB, free: 5.957 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004623/0.006126, allocations: 467.7 kB / 351.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.006167, allocations: 12.03 kB / 351.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.006208, allocations: 16.84 kB / 351.8 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.006353, allocations: 177.1 kB / 352 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.006369, allocations: 4.375 kB / 352 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.006386, allocations: 384 / 352 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.006491, allocations: 62.94 kB / 352 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006501, allocations: 7.938 kB / 352.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.00651, allocations: 3.984 kB / 352.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.006516, allocations: 0 / 352.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.129e-05/0.006547, allocations: 15.98 kB / 352.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.006792, allocations: 268.4 kB / 352.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.006879, allocations: 47.16 kB / 352.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.006905, allocations: 19.69 kB / 352.4 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.006919, allocations: 0 / 352.4 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.007023, allocations: 68.97 kB / 352.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.007025, allocations: 7.938 kB / 352.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.00037/0.007395, allocations: 133.5 kB / 352.6 MB, free: 4.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.007423, allocations: 59.34 kB / 352.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.007592, allocations: 266.8 kB / 352.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.007605, allocations: 29.7 kB / 353 MB, free: 4.152 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.00767, allocations: 166.8 kB / 353.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.007706, allocations: 31.77 kB / 353.1 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.007742, allocations: 23.38 kB / 353.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.007815, allocations: 0.504 MB / 353.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.007836, allocations: 11.98 kB / 353.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.00787, allocations: 35.34 kB / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.758e-05/0.007928, allocations: 47.31 kB / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.007929, allocations: 0 / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001195/0.008049, allocations: 89.59 kB / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.008061, allocations: 4 kB / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.008066, allocations: 80 / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.008081, allocations: 3.984 kB / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.008154, allocations: 19.94 kB / 353.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.008158, allocations: 3.984 kB / 353.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.008197, allocations: 8.031 kB / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.008205, allocations: 4 kB / 353.9 MB, free: 3.16 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 (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 6.493e-05/0.00827, allocations: 164.6 kB / 354.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.008294, allocations: 27.73 kB / 354.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.008444, allocations: 99.06 kB / 354.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.008447, allocations: 4 kB / 354.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.008448, allocations: 0 / 354.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.008452, allocations: 0 / 354.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.008732, allocations: 370 kB / 354.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.008734, allocations: 8.031 kB / 354.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.008768, allocations: 12 kB / 354.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.00877, allocations: 0 / 354.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.008777, allocations: 0 / 354.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.008779, allocations: 4 kB / 354.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.008781, allocations: 3.938 kB / 354.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.008925, allocations: 255.4 kB / 354.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.008941, allocations: 11.91 kB / 354.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.008962, allocations: 11.92 kB / 354.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.009029, allocations: 4 kB / 354.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.009054, allocations: 11.98 kB / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.009068, allocations: 0 / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.42e-05/0.009152, allocations: 193.4 kB / 355 MB, free: 1.926 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009152, allocations: 0 / 355 MB, free: 1.926 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.009427, allocations: 23.94 kB / 355.1 MB, free: 1.902 MB / 282.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.001162/0.01059, allocations: 437.4 kB / 355.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.01071, allocations: 55.53 kB / 355.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01071, allocations: 0 / 355.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.407e-05/0.01075, allocations: 35.83 kB / 355.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.0111, allocations: 39.91 kB / 355.6 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.01145, allocations: 257.6 kB / 355.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.483e-05/0.0115, allocations: 79.33 kB / 356 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.232e-05/0.01154, allocations: 16.48 kB / 356 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.01161, allocations: 94.19 kB / 356.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01161, allocations: 0 / 356.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of Templates: time 0.003553/0.01516, allocations: 2.021 MB / 358.1 MB, free: 14.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.166057458613068]