Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.002025/0.002025, allocations: 75.75 kB / 19.93 MB, free: 1.77 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.002365/0.002365, allocations: 176.1 kB / 23.22 MB, free: 4.887 MB / 14.72 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.475/1.475, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 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.2085/0.2085, allocations: 32.38 MB / 269.6 MB, free: 4.645 MB / 254.1 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.489e-05, allocations: 2.281 kB / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00351/0.003535, allocations: 1.746 MB / 409.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.006332, allocations: 1.548 MB / 410.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.006443, allocations: 0 / 410.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.006833, allocations: 55.62 kB / 410.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.007259, allocations: 99.41 kB / 410.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.007707, allocations: 142.9 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.008061, allocations: 199.3 kB / 411.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.008112, allocations: 9.75 kB / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.008331, allocations: 91.73 kB / 411.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.008522, allocations: 59.8 kB / 411.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.008556, allocations: 8 kB / 411.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.008723, allocations: 71.78 kB / 411.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.008814, allocations: 31.84 kB / 411.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.376e-05/0.008898, allocations: 39.84 kB / 411.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.009224, allocations: 171.4 kB / 411.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.009228, allocations: 0 / 411.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009229, allocations: 0 / 411.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.009236, allocations: 4 kB / 411.7 MB, free: 14.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000741/0.009977, allocations: 401.2 kB / 412.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.01002, allocations: 12.03 kB / 412.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.01009, allocations: 16.84 kB / 412.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.01052, allocations: 181.2 kB / 412.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.01054, allocations: 8.312 kB / 412.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.01055, allocations: 4.375 kB / 412.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.01085, allocations: 149 kB / 412.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.01086, allocations: 3.938 kB / 412.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.01088, allocations: 4 kB / 412.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.01088, allocations: 0 / 412.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.01102, allocations: 39.91 kB / 412.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.01127, allocations: 146.2 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.0116, allocations: 113.2 kB / 412.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.01171, allocations: 33.7 kB / 412.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.01173, allocations: 8 kB / 412.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.01201, allocations: 117 kB / 412.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.01201, allocations: 0 / 412.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006089/0.01262, allocations: 173.5 kB / 413.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.01274, allocations: 140.4 kB / 413.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.01304, allocations: 223.8 kB / 413.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.01306, allocations: 25.7 kB / 413.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.01315, allocations: 112.1 kB / 413.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.0132, allocations: 31.78 kB / 413.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.01326, allocations: 33.72 kB / 413.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002491/0.01351, allocations: 330.8 kB / 413.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.01361, allocations: 27.98 kB / 414 MB, free: 12.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.01378, allocations: 125.5 kB / 414.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.01399, allocations: 87.36 kB / 414.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01399, allocations: 0 / 414.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003281/0.01432, allocations: 149.5 kB / 414.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.01434, allocations: 4 kB / 414.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.01435, allocations: 7.938 kB / 414.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.01437, allocations: 0 / 414.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.01451, allocations: 28.55 kB / 414.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.01451, allocations: 0 / 414.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-05/0.01461, allocations: 15.92 kB / 414.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01462, allocations: 4 kB / 414.4 MB, free: 11.67 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.000144/0.01476, allocations: 133.8 kB / 414.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.01481, allocations: 23.84 kB / 414.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.0152, allocations: 166.7 kB / 414.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.0152, allocations: 3.938 kB / 414.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.01521, allocations: 7.984 kB / 414.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01522, allocations: 0 / 414.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.0154, allocations: 149.3 kB / 414.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.0154, allocations: 0 / 414.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.01546, allocations: 11.94 kB / 414.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.01546, allocations: 7.984 kB / 414.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.01548, allocations: 3.984 kB / 414.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.01548, allocations: 3.938 kB / 414.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01549, allocations: 8 kB / 414.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.01587, allocations: 181.8 kB / 415.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.0159, allocations: 19.84 kB / 415.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.01594, allocations: 0 / 415.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.01603, allocations: 15.92 kB / 415.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.01608, allocations: 11.92 kB / 415.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.0161, allocations: 8 kB / 415.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.01629, allocations: 165.5 kB / 415.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01629, allocations: 3.938 kB / 415.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.01659, allocations: 35.94 kB / 415.3 MB, free: 10.66 MB / 350.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001973/0.01856, allocations: 480.9 kB / 415.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.01891, allocations: 83.91 kB / 415.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01891, allocations: 0 / 415.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.01904, allocations: 48.03 kB / 415.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.01949, allocations: 60.11 kB / 416 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006776/0.02017, allocations: 279 kB / 416.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.02029, allocations: 106.2 kB / 416.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.02041, allocations: 33.47 kB / 416.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.219e-05/0.02048, allocations: 28.42 kB / 416.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.02048, allocations: 0 / 416.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of Templates: time 0.007957/0.02844, allocations: 2.919 MB / 419.3 MB, free: 6.711 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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: 5.228019315749407]