Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001899/0.001899, allocations: 73.33 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.001473/0.001473, 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.59/1.59, allocations: 158.6 MB / 185 MB, free: 6.383 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.2383/0.2383, allocations: 32.38 MB / 269.6 MB, free: 4.66 MB / 254.1 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.Test81,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.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,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.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.721e-06/5.721e-06, allocations: 4 kB / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.256e-05/5.828e-05, allocations: 2.281 kB / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004002/0.00406, allocations: 1.757 MB / 409.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.006839, allocations: 1.536 MB / 410.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.00695, allocations: 7.938 kB / 410.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.007382, allocations: 51.69 kB / 410.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.007774, allocations: 103.4 kB / 410.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.008194, allocations: 138.9 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.008538, allocations: 187.3 kB / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.87e-05/0.008617, allocations: 21.73 kB / 411.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.008806, allocations: 91.67 kB / 411.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.008999, allocations: 55.81 kB / 411.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.009035, allocations: 12 kB / 411.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.009204, allocations: 67.84 kB / 411.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.252e-05/0.009296, allocations: 35.84 kB / 411.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.68e-05/0.009373, allocations: 35.86 kB / 411.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.009739, allocations: 179.4 kB / 411.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.009744, allocations: 0 / 411.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.009746, allocations: 0 / 411.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.00976, allocations: 0 / 411.7 MB, free: 14.65 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.0009198/0.01068, allocations: 401.1 kB / 412.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.01073, allocations: 12.03 kB / 412.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.0108, allocations: 16.84 kB / 412.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.01125, allocations: 173.3 kB / 412.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.01127, allocations: 12.3 kB / 412.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.01129, allocations: 4.375 kB / 412.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.01164, allocations: 157 kB / 412.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.01166, allocations: 3.938 kB / 412.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.01167, allocations: 0 / 412.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.01168, allocations: 0 / 412.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.01181, allocations: 35.97 kB / 412.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.01212, allocations: 150.2 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.01245, allocations: 105.2 kB / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.01257, allocations: 41.69 kB / 412.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.0126, allocations: 4 kB / 412.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.01289, allocations: 109 kB / 412.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.01289, allocations: 0 / 412.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005981/0.01349, allocations: 189.4 kB / 413.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.01361, allocations: 128.5 kB / 413.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.01395, allocations: 227.8 kB / 413.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.01399, allocations: 29.7 kB / 413.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.0141, allocations: 112.1 kB / 413.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.01417, allocations: 23.81 kB / 413.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.01424, allocations: 33.7 kB / 413.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.01446, allocations: 326.8 kB / 413.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.01456, allocations: 27.98 kB / 414 MB, free: 12.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.01476, allocations: 128.5 kB / 414.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.01499, allocations: 91.34 kB / 414.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.015, allocations: 0 / 414.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003288/0.01533, allocations: 149.4 kB / 414.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.01535, allocations: 4 kB / 414.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.01537, allocations: 7.938 kB / 414.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.01539, allocations: 0 / 414.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.01553, allocations: 24.7 kB / 414.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.01554, allocations: 4 kB / 414.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.01562, allocations: 7.938 kB / 414.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.01563, allocations: 4 kB / 414.4 MB, free: 11.68 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.0001522/0.01578, allocations: 145.7 kB / 414.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.01583, allocations: 19.86 kB / 414.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.01622, allocations: 170.7 kB / 414.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01622, allocations: 3.938 kB / 414.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.01623, allocations: 0 / 414.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.01624, allocations: 8 kB / 414.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.01644, allocations: 153.2 kB / 414.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01645, allocations: 0 / 414.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.01649, allocations: 8 kB / 414.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.01649, allocations: 4 kB / 414.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01651, allocations: 0 / 414.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.01651, allocations: 3.938 kB / 414.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.01651, allocations: 4 kB / 414.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.01687, allocations: 181.7 kB / 415.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.0169, allocations: 23.84 kB / 415.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.01694, allocations: 7.984 kB / 415.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.01701, allocations: 7.938 kB / 415.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.01706, allocations: 11.98 kB / 415.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.01709, allocations: 7.984 kB / 415.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.01727, allocations: 165.5 kB / 415.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01727, allocations: 3.938 kB / 415.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.01756, allocations: 39.92 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.001939/0.01949, allocations: 483.2 kB / 415.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.01981, allocations: 87.89 kB / 415.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01981, allocations: 0 / 415.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.01994, allocations: 43.91 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.0004267/0.02037, allocations: 56.94 kB / 416 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006919/0.02106, allocations: 267.1 kB / 416.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.02119, allocations: 114.1 kB / 416.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.0213, allocations: 33.45 kB / 416.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.02138, allocations: 28.48 kB / 416.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.02138, allocations: 0 / 416.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of Templates: time 0.008192/0.02957, allocations: 2.925 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.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.544487774372101]