Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.002094/0.002094, allocations: 84.34 kB / 20.95 MB, free: 3.457 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.002732/0.002732, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3301/0.3301, allocations: 32.8 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.08e-05, allocations: 2.312 kB / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003379/0.003409, allocations: 1.73 MB / 377.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.005475, allocations: 0.9664 MB / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.00557, allocations: 0 / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.005934, allocations: 43.7 kB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.006302, allocations: 103.5 kB / 378.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.006539, allocations: 79.66 kB / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.006746, allocations: 107.6 kB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.006849, allocations: 4 kB / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.006971, allocations: 55.83 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.007061, allocations: 23.91 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.007085, allocations: 4 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.007193, allocations: 47.91 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.007264, allocations: 23.92 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.00732, allocations: 23.81 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.007588, allocations: 123.6 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.007592, allocations: 0 / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.007593, allocations: 0 / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.007598, allocations: 0 / 378.7 MB, free: 1.559 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.0006483/0.008247, allocations: 341.6 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.008287, allocations: 12.03 kB / 379 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.008353, allocations: 12.84 kB / 379 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.008669, allocations: 154.2 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.008686, allocations: 4.375 kB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.008712, allocations: 4.375 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.008867, allocations: 58.23 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.00888, allocations: 3.938 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.00889, allocations: 0 / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.008894, allocations: 3.938 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.008973, allocations: 19.98 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.009363, allocations: 236.5 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.009557, allocations: 58.61 kB / 379.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.763e-05/0.009634, allocations: 24.78 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.009648, allocations: 4 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.009809, allocations: 71.38 kB / 379.7 MB, free: 468 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.00981, allocations: 0 / 379.7 MB, free: 468 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006282/0.01044, allocations: 181.4 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.01049, allocations: 51.41 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.01073, allocations: 202.7 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.01077, allocations: 33.69 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.01085, allocations: 111.9 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.01089, allocations: 27.78 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.01094, allocations: 21.72 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.01111, allocations: 326.8 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-05/0.01118, allocations: 23.98 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.01126, allocations: 37.7 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.0114, allocations: 61.64 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.0114, allocations: 0 / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000242/0.01164, allocations: 109.5 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.01166, allocations: 8 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.01166, allocations: 0 / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.01168, allocations: 4.031 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.689e-05/0.01177, allocations: 20.31 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.01178, allocations: 4 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.01184, allocations: 7.984 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.01185, allocations: 4 kB / 380.9 MB, free: 15.17 MB / 362.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 0.0001237/0.01197, allocations: 125.8 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.01201, allocations: 19.89 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.01229, allocations: 123.2 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.0123, allocations: 4 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.0123, allocations: 4 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.0123, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.01283, allocations: 350.9 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01283, allocations: 0 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.01288, allocations: 15.94 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01288, allocations: 3.984 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.01289, allocations: 4 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.0129, allocations: 4 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.0129, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.0132, allocations: 216.2 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.01323, allocations: 15.94 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.01325, allocations: 4 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.01333, allocations: 4 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.01338, allocations: 11.92 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.0134, allocations: 4 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.01356, allocations: 152.2 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01356, allocations: 0 / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000286/0.01385, allocations: 31.92 kB / 381.9 MB, free: 14.03 MB / 362.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.002278/0.01613, allocations: 492.6 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.01634, allocations: 59.84 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01635, allocations: 0 / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.913e-05/0.01644, allocations: 31.98 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.01682, allocations: 31.98 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.01735, allocations: 237.5 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.01747, allocations: 92.3 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.186e-05/0.01753, allocations: 25.27 kB / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.01758, allocations: 16.5 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01758, allocations: 4 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of Templates: time 0.005664/0.02324, allocations: 1.869 MB / 384.8 MB, free: 11.38 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.650745174963959]