Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001239/0.001239, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002272/0.003511, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001177/0.001177, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002039/0.003215, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09451/1.132, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.286/0.286, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02816/0.3142, allocations: 13.09 MB / 291.3 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.445e-05, allocations: 3.438 kB / 292.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002308/0.002332, allocations: 1.805 MB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.003544, allocations: 1.014 MB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.003613, allocations: 0 / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.003794, allocations: 43.7 kB / 295.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.004004, allocations: 91.47 kB / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.004162, allocations: 83.66 kB / 295.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.004312, allocations: 103.7 kB / 295.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.939e-05/0.004391, allocations: 15.92 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.004506, allocations: 75.81 kB / 295.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.004575, allocations: 27.84 kB / 296 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.004589, allocations: 4 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.004669, allocations: 47.91 kB / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.004707, allocations: 15.94 kB / 296 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.004741, allocations: 19.94 kB / 296.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.004891, allocations: 87.67 kB / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.501e-05/0.004906, allocations: 0 / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004907, allocations: 0 / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.004922, allocations: 4 kB / 296.1 MB, free: 2.762 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.0004148/0.005337, allocations: 329.1 kB / 296.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.005365, allocations: 8.031 kB / 296.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.005395, allocations: 8.938 kB / 296.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.005545, allocations: 151.8 kB / 296.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.00556, allocations: 4.375 kB / 296.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.005576, allocations: 12.33 kB / 296.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.005678, allocations: 61.77 kB / 296.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.005688, allocations: 3.938 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.005695, allocations: 0 / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.005699, allocations: 4 kB / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.005725, allocations: 7.984 kB / 296.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.005917, allocations: 161.9 kB / 296.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.875e-05/0.006006, allocations: 85.28 kB / 297 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.006025, allocations: 16.91 kB / 297 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.006035, allocations: 4 kB / 297 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.877e-05/0.006134, allocations: 66.16 kB / 297.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.006136, allocations: 0 / 297.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002931/0.006429, allocations: 117.5 kB / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.006458, allocations: 55.34 kB / 297.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.006554, allocations: 166.9 kB / 297.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.006567, allocations: 25.7 kB / 297.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.006596, allocations: 88.12 kB / 297.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.006622, allocations: 23.84 kB / 297.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.006657, allocations: 25.7 kB / 297.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.626e-05/0.006733, allocations: 322.8 kB / 297.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.00675, allocations: 14.81 kB / 297.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.006772, allocations: 25.7 kB / 297.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/0.006813, allocations: 40.45 kB / 297.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006814, allocations: 0 / 297.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.54e-05/0.006889, allocations: 80.48 kB / 298 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.006899, allocations: 4 kB / 298 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.006904, allocations: 4 kB / 298 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.006913, allocations: 4.031 kB / 298 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.006979, allocations: 19.94 kB / 298 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.006981, allocations: 0 / 298 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.007008, allocations: 3.984 kB / 298 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.007015, allocations: 4 kB / 298.1 MB, free: 0.6758 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 6.255e-05/0.007077, allocations: 120.6 kB / 298.2 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.007089, allocations: 11.92 kB / 298.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.007189, allocations: 78.33 kB / 298.3 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.00719, allocations: 0 / 298.3 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.007191, allocations: 4 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007195, allocations: 4 kB / 298.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.007402, allocations: 283.4 kB / 298.5 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.007405, allocations: 3.984 kB / 298.5 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.007436, allocations: 16 kB / 298.6 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.007448, allocations: 15.89 kB / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007451, allocations: 0 / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.007456, allocations: 0 / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.00746, allocations: 4.375 kB / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.007461, allocations: 0 / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.007575, allocations: 223 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.007591, allocations: 12.03 kB / 298.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.007629, allocations: 4 kB / 298.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.007655, allocations: 7.984 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.007665, allocations: 0 / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.721e-05/0.007702, allocations: 49.17 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007702, allocations: 0 / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.007844, allocations: 20 kB / 298.9 MB, free: 15.77 MB / 298.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.001396/0.00924, allocations: 0.6317 MB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.009333, allocations: 44.7 kB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.009343, allocations: 7.984 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.009369, allocations: 20.84 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.009553, allocations: 44.53 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.01, allocations: 216.1 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.01005, allocations: 63.34 kB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.471e-05/0.01008, allocations: 16.97 kB / 299.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/0.01015, allocations: 71.3 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01015, allocations: 0 / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of Templates: time 0.003745/0.0139, allocations: 2.041 MB / 302 MB, free: 12.94 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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: 2.863978889770806]