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.0008684/0.0008684, allocations: 84.45 kB / 20.69 MB, free: 3.863 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.0007724/0.0007724, allocations: 169.9 kB / 23.97 MB, free: 0.582 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 0.7958/0.7958, allocations: 158.6 MB / 185.7 MB, free: 3.023 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.1197/0.1197, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.1.|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.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.037e-05, allocations: 9.453 kB / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.001836/0.001856, allocations: 1.688 MB / 409.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008488/0.002705, allocations: 0.7801 MB / 410.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.002762, allocations: 0 / 410.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.003023, allocations: 51.81 kB / 410.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.003202, allocations: 63.62 kB / 410.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.00337, allocations: 87.69 kB / 410.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.003513, allocations: 99.69 kB / 410.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.003603, allocations: 8.172 kB / 411 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.003966, allocations: 51.83 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.004038, allocations: 31.91 kB / 411 MB, free: 10.06 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.004056, allocations: 4 kB / 411 MB, free: 10.06 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.004127, allocations: 39.92 kB / 411.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.004187, allocations: 31.86 kB / 411.1 MB, free: 9.988 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.004226, allocations: 23.91 kB / 411.1 MB, free: 9.965 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.004406, allocations: 127.5 kB / 411.3 MB, free: 9.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004408, allocations: 0 / 411.3 MB, free: 9.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.004411, allocations: 3.984 kB / 411.3 MB, free: 9.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.004416, allocations: 3.938 kB / 411.3 MB, free: 9.832 MB / 346.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.0004614/0.004877, allocations: 377.3 kB / 411.6 MB, free: 9.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.004911, allocations: 8.031 kB / 411.6 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.004953, allocations: 20.84 kB / 411.7 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.005148, allocations: 150.5 kB / 411.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.005163, allocations: 384 / 411.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.005186, allocations: 8.375 kB / 411.8 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.005322, allocations: 54.17 kB / 411.9 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.005338, allocations: 11.92 kB / 411.9 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.005348, allocations: 0 / 411.9 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005354, allocations: 4 kB / 411.9 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.783e-05/0.005412, allocations: 23.92 kB / 411.9 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/0.005706, allocations: 236.5 kB / 412.1 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.005825, allocations: 62.67 kB / 412.2 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.005862, allocations: 28.78 kB / 412.2 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.005875, allocations: 0 / 412.2 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.005985, allocations: 75.28 kB / 412.3 MB, free: 8.676 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.005987, allocations: 0 / 412.3 MB, free: 8.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004308/0.006417, allocations: 189.3 kB / 412.5 MB, free: 8.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.006448, allocations: 51.41 kB / 412.5 MB, free: 8.422 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.006622, allocations: 283.8 kB / 412.8 MB, free: 8.137 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.006634, allocations: 25.7 kB / 412.8 MB, free: 8.105 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.006692, allocations: 116.1 kB / 413 MB, free: 7.988 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.006719, allocations: 23.8 kB / 413 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.006751, allocations: 25.7 kB / 413 MB, free: 7.934 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.006837, allocations: 326.8 kB / 413.3 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.789e-05/0.006875, allocations: 19.98 kB / 413.3 MB, free: 7.586 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-05/0.006919, allocations: 37.7 kB / 413.4 MB, free: 7.543 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.751e-05/0.006996, allocations: 69.58 kB / 413.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.006998, allocations: 0 / 413.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001125/0.00711, allocations: 105.6 kB / 413.5 MB, free: 7.359 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.007124, allocations: 6.656 kB / 413.6 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.007131, allocations: 4 kB / 413.6 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007145, allocations: 0 / 413.6 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.00722, allocations: 19.92 kB / 413.6 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.007225, allocations: 0 / 413.6 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.007253, allocations: 4.188 kB / 413.6 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.007262, allocations: 4 kB / 413.6 MB, free: 7.324 MB / 346.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 8.168e-05/0.007344, allocations: 149.7 kB / 413.7 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.007359, allocations: 23.94 kB / 413.8 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.007525, allocations: 123.2 kB / 413.9 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007527, allocations: 4 kB / 413.9 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.007531, allocations: 0 / 413.9 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007534, allocations: 3.938 kB / 413.9 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.007824, allocations: 362.9 kB / 414.2 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007825, allocations: 0 / 414.2 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.007848, allocations: 11.98 kB / 414.3 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.00785, allocations: 384 / 414.3 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.007858, allocations: 8.031 kB / 414.3 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.007861, allocations: 4 kB / 414.3 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.007863, allocations: 0 / 414.3 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.008005, allocations: 220.2 kB / 414.5 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.00802, allocations: 15.89 kB / 414.5 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.008038, allocations: 4 kB / 414.5 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.008076, allocations: 4 kB / 414.5 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.008117, allocations: 11.92 kB / 414.5 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.008132, allocations: 0 / 414.5 MB, free: 6.324 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.008258, allocations: 221.4 kB / 414.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008259, allocations: 4 kB / 414.7 MB, free: 6.105 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000168/0.008427, allocations: 27.94 kB / 414.8 MB, free: 6.078 MB / 346.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.0007431/0.00917, allocations: 488.8 kB / 415.2 MB, free: 5.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.009306, allocations: 67.91 kB / 415.3 MB, free: 5.582 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.009308, allocations: 0 / 415.3 MB, free: 5.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.009359, allocations: 35.91 kB / 415.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.009596, allocations: 27.77 kB / 415.4 MB, free: 5.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.01003, allocations: 324.7 kB / 415.7 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.665e-05/0.01011, allocations: 113.2 kB / 415.8 MB, free: 5.035 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.01014, allocations: 16.5 kB / 415.8 MB, free: 5.02 MB / 346.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01014, allocations: 0 / 415.8 MB, free: 5.02 MB / 346.7 MB Notification: Performance of Templates: time 0.003154/0.0133, allocations: 2.148 MB / 418 MB, free: 2.871 MB / 346.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.67717738263309]