Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.001257/0.001257, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001158/0.001158, allocations: 169 kB / 24.24 MB, free: 312 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 1.091/1.091, allocations: 158.6 MB / 186 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.1632/0.1632, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.771e-05/3.946e-05, allocations: 8.219 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003593/0.003632, allocations: 1.742 MB / 349.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.005637, allocations: 1.517 MB / 351 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/0.005697, allocations: 4 kB / 351 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.005915, allocations: 31.78 kB / 351 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.006113, allocations: 67.67 kB / 351.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.00627, allocations: 79.7 kB / 351.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.006374, allocations: 107.6 kB / 351.3 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.006438, allocations: 4.234 kB / 351.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.58e-05/0.006504, allocations: 51.83 kB / 351.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.006583, allocations: 31.84 kB / 351.4 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.006596, allocations: 8 kB / 351.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.006687, allocations: 63.89 kB / 351.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.006723, allocations: 15.92 kB / 351.5 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.006756, allocations: 19.94 kB / 351.5 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.00695, allocations: 111.6 kB / 351.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.006954, allocations: 0 / 351.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006955, allocations: 0 / 351.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.00696, allocations: 7.938 kB / 351.6 MB, free: 5.828 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.0002848/0.007245, allocations: 439.9 kB / 352 MB, free: 5.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.007271, allocations: 8.031 kB / 352 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.007305, allocations: 12.89 kB / 352 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.007444, allocations: 140.5 kB / 352.2 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.007459, allocations: 4.375 kB / 352.2 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.007474, allocations: 384 / 352.2 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.007594, allocations: 108 kB / 352.3 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.007602, allocations: 3.938 kB / 352.3 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.007611, allocations: 4 kB / 352.3 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.007617, allocations: 4 kB / 352.3 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.318e-05/0.00765, allocations: 15.92 kB / 352.3 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.007887, allocations: 275.8 kB / 352.6 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.821e-05/0.007976, allocations: 47.17 kB / 352.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.008, allocations: 23.62 kB / 352.7 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.008009, allocations: 0 / 352.7 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.629e-05/0.008095, allocations: 68.98 kB / 352.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.008096, allocations: 0 / 352.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002907/0.008387, allocations: 169.5 kB / 352.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.008409, allocations: 77.11 kB / 353 MB, free: 4.281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.008489, allocations: 205.2 kB / 353.2 MB, free: 4.066 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.008499, allocations: 37.64 kB / 353.2 MB, free: 4.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.008537, allocations: 138.9 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.008563, allocations: 27.78 kB / 353.4 MB, free: 3.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.008599, allocations: 23.38 kB / 353.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.00865, allocations: 0.4962 MB / 353.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.008673, allocations: 19.98 kB / 353.9 MB, free: 3.297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.59e-05/0.008709, allocations: 64.75 kB / 354 MB, free: 3.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.824e-05/0.008757, allocations: 63.28 kB / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.008758, allocations: 0 / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.822e-05/0.008846, allocations: 89.52 kB / 354.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.527e-06/0.008855, allocations: 8 kB / 354.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.008859, allocations: 0 / 354.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.008869, allocations: 3.984 kB / 354.1 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.008925, allocations: 12 kB / 354.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.008929, allocations: 4 kB / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.008954, allocations: 4 kB / 354.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.008959, allocations: 8.031 kB / 354.2 MB, free: 3.012 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 5.33e-05/0.009013, allocations: 170.8 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.009026, allocations: 11.95 kB / 354.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.009145, allocations: 102.5 kB / 354.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.009147, allocations: 3.984 kB / 354.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.009149, allocations: 0 / 354.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.009153, allocations: 4 kB / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.009379, allocations: 377 kB / 354.8 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00938, allocations: 0 / 354.8 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.009408, allocations: 15.97 kB / 354.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.00941, allocations: 0 / 354.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.009419, allocations: 8 kB / 354.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009421, allocations: 0 / 354.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009422, allocations: 0 / 354.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.009571, allocations: 259.4 kB / 355.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.009586, allocations: 11.94 kB / 355.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.009608, allocations: 0 / 355.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.009679, allocations: 8 kB / 355.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.009708, allocations: 7.984 kB / 355.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.009722, allocations: 4 kB / 355.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.009791, allocations: 170.3 kB / 355.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009791, allocations: 0 / 355.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.01009, allocations: 27.94 kB / 355.3 MB, free: 1.773 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.001122/0.01121, allocations: 491.8 kB / 355.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.01131, allocations: 51.61 kB / 355.8 MB, free: 1.328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01131, allocations: 4 kB / 355.8 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/0.01135, allocations: 35.61 kB / 355.9 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.01155, allocations: 31.83 kB / 355.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.0118, allocations: 197.1 kB / 356.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.01183, allocations: 67.25 kB / 356.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.429e-05/0.01186, allocations: 12.48 kB / 356.2 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.01189, allocations: 20.62 kB / 356.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01189, allocations: 0 / 356.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of Templates: time 0.003727/0.01562, allocations: 2.142 MB / 358.3 MB, free: 14.79 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.351410493021831]