Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.002297/0.002297, allocations: 95.55 kB / 20.21 MB, free: 4.332 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.003023/0.003023, allocations: 161.3 kB / 23.52 MB, free: 1.023 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 2.036/2.036, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.3164/0.3164, allocations: 32.39 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 0 / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.367e-05/4.698e-05, allocations: 2.312 kB / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.0042/0.004247, allocations: 1.708 MB / 348.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.006186, allocations: 0.7844 MB / 349.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.006315, allocations: 3.938 kB / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.006962, allocations: 111.6 kB / 349.6 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004358/0.007398, allocations: 87.64 kB / 349.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.007814, allocations: 83.64 kB / 349.8 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.008127, allocations: 123.7 kB / 349.9 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.008289, allocations: 8.219 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.008454, allocations: 71.75 kB / 350 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.008605, allocations: 59.86 kB / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.008635, allocations: 4 kB / 350 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.008772, allocations: 47.92 kB / 350.1 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/0.008856, allocations: 31.86 kB / 350.1 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.008927, allocations: 23.91 kB / 350.1 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.009262, allocations: 131.5 kB / 350.3 MB, free: 6.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.009272, allocations: 4 kB / 350.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.009274, allocations: 0 / 350.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.009281, allocations: 0 / 350.3 MB, free: 6.434 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007325/0.01001, allocations: 479.3 kB / 350.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.181e-05/0.01009, allocations: 8.031 kB / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/0.01018, allocations: 16.84 kB / 350.8 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.01048, allocations: 172.2 kB / 350.9 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.0105, allocations: 4.375 kB / 350.9 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.01053, allocations: 384 / 350.9 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.01072, allocations: 62.22 kB / 351 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.01073, allocations: 3.938 kB / 351 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.01075, allocations: 0 / 351 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.01076, allocations: 0 / 351 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.01089, allocations: 27.92 kB / 351 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.01148, allocations: 319.7 kB / 351.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.01177, allocations: 75.16 kB / 351.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.764e-05/0.01186, allocations: 27.62 kB / 351.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.01189, allocations: 4 kB / 351.5 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.01212, allocations: 80.97 kB / 351.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.01212, allocations: 0 / 351.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008503/0.01297, allocations: 201.3 kB / 351.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.01301, allocations: 51.41 kB / 351.8 MB, free: 4.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.0133, allocations: 278.8 kB / 352.1 MB, free: 4.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.01332, allocations: 29.7 kB / 352.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.01343, allocations: 178.7 kB / 352.3 MB, free: 4.277 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.01347, allocations: 23.81 kB / 352.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.01354, allocations: 39.36 kB / 352.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.01372, allocations: 0.5079 MB / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.01388, allocations: 19.98 kB / 352.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.01399, allocations: 47.3 kB / 352.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.01418, allocations: 75.3 kB / 353 MB, free: 3.531 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.01418, allocations: 4 kB / 353 MB, free: 3.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002769/0.01446, allocations: 113.5 kB / 353.1 MB, free: 3.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.01449, allocations: 8 kB / 353.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.0145, allocations: 0 / 353.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/0.01453, allocations: 8.016 kB / 353.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.01469, allocations: 19.94 kB / 353.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.0147, allocations: 0 / 353.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.773e-05/0.01476, allocations: 4 kB / 353.1 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.01478, allocations: 8.453 kB / 353.1 MB, free: 3.363 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 (11): * Single equations (assignments): 11 * 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.0001454/0.01492, allocations: 168.5 kB / 353.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.01496, allocations: 15.91 kB / 353.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/0.01538, allocations: 150.9 kB / 353.5 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01538, allocations: 0 / 353.5 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.01539, allocations: 0 / 353.5 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.0154, allocations: 4 kB / 353.5 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.01605, allocations: 457.1 kB / 353.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.01606, allocations: 4 kB / 353.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.01612, allocations: 15.98 kB / 353.9 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01612, allocations: 0 / 353.9 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.01614, allocations: 4 kB / 353.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01614, allocations: 3.938 kB / 353.9 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01614, allocations: 0 / 353.9 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.01645, allocations: 295.3 kB / 354.2 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.01648, allocations: 15.91 kB / 354.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.01652, allocations: 8.016 kB / 354.2 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.01662, allocations: 8 kB / 354.3 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.01671, allocations: 7.984 kB / 354.3 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.01673, allocations: 4 kB / 354.3 MB, free: 2.137 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002007/0.01693, allocations: 206.9 kB / 354.5 MB, free: 1.934 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01693, allocations: 0 / 354.5 MB, free: 1.934 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004173/0.01735, allocations: 27.98 kB / 354.5 MB, free: 1.906 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 (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.004063/0.02141, allocations: 498.1 kB / 355 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.02182, allocations: 79.53 kB / 355.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.02182, allocations: 4 kB / 355.1 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.02194, allocations: 43.61 kB / 355.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/0.02258, allocations: 33.53 kB / 355.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.02336, allocations: 273.8 kB / 355.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.02348, allocations: 105.7 kB / 355.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.109e-05/0.02355, allocations: 20.95 kB / 355.5 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.02361, allocations: 16.5 kB / 355.5 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of SimCode: time 1.273e-06/0.02361, allocations: 0 / 355.5 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of Templates: time 0.008789/0.0324, allocations: 1.973 MB / 357.5 MB, free: 14.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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: 6.118857141002081]