Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0008475/0.0008475, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.001998, 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.0007089/0.0007089, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008552/0.001564, 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 0.9401/0.9401, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.044, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.2859/0.2859, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02772/0.3136, allocations: 13.1 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.179e-05, allocations: 4.312 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002295/0.002317, allocations: 1.807 MB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.00353, allocations: 1.033 MB / 295.6 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.0036, allocations: 0 / 295.6 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.003779, allocations: 35.72 kB / 295.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.004006, allocations: 95.47 kB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.0042, allocations: 91.53 kB / 295.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.004378, allocations: 111.6 kB / 295.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.004463, allocations: 11.98 kB / 295.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.004585, allocations: 83.81 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.455e-05/0.004669, allocations: 31.89 kB / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.004685, allocations: 8 kB / 296 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.004996, allocations: 115.7 kB / 296.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.005039, allocations: 11.94 kB / 296.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.005071, allocations: 19.94 kB / 296.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.005279, allocations: 151.5 kB / 296.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.598e-05/0.005295, allocations: 0 / 296.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005296, allocations: 0 / 296.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.005313, allocations: 0 / 296.3 MB, free: 2.602 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.0004672/0.00578, allocations: 356.9 kB / 296.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.005813, allocations: 12.03 kB / 296.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.005848, allocations: 12.86 kB / 296.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.006021, allocations: 148.7 kB / 296.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.006039, allocations: 8.375 kB / 296.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.006056, allocations: 4.375 kB / 296.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.00619, allocations: 105.2 kB / 297 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.006199, allocations: 3.938 kB / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.006208, allocations: 7.938 kB / 297 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.006213, allocations: 0 / 297 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.767e-05/0.006241, allocations: 6.828 kB / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.006437, allocations: 161.9 kB / 297.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.944e-05/0.006536, allocations: 88.12 kB / 297.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.006563, allocations: 21.03 kB / 297.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.006574, allocations: 4 kB / 297.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.896e-05/0.006673, allocations: 74.03 kB / 297.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.006674, allocations: 4 kB / 297.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003196/0.006993, allocations: 121.8 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.007022, allocations: 55.41 kB / 297.5 MB, free: 1.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.007125, allocations: 168.2 kB / 297.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.00714, allocations: 29.7 kB / 297.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.007171, allocations: 88.12 kB / 297.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.007199, allocations: 35.72 kB / 297.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.007236, allocations: 29.7 kB / 297.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.007309, allocations: 326.8 kB / 298.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.007329, allocations: 18.75 kB / 298.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.007369, allocations: 65.75 kB / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.726e-05/0.007416, allocations: 45.11 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.007418, allocations: 0 / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.783e-05/0.007506, allocations: 88.3 kB / 298.4 MB, free: 364 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.007518, allocations: 4 kB / 298.4 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007522, allocations: 4 kB / 298.4 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.007531, allocations: 4.062 kB / 298.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.007602, allocations: 23.98 kB / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.007606, allocations: 4.094 kB / 298.4 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.007643, allocations: 4 kB / 298.4 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.00765, allocations: 7.984 kB / 298.4 MB, free: 312 kB / 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 (13): * Single equations (assignments): 13 * 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 5.87e-05/0.007709, allocations: 118.1 kB / 298.5 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.007726, allocations: 23.91 kB / 298.6 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.932e-05/0.007825, allocations: 80.3 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.007827, allocations: 3.938 kB / 298.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.007829, allocations: 0 / 298.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.007832, allocations: 4 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.008094, allocations: 355.2 kB / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.008096, allocations: 0 / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.00813, allocations: 15.98 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.008141, allocations: 7.953 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.008145, allocations: 4 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.008152, allocations: 4 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.008154, allocations: 0 / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.008158, allocations: 7.938 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.008265, allocations: 219.1 kB / 299.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.008282, allocations: 8 kB / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/0.008323, allocations: 4 kB / 299.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.008347, allocations: 7.984 kB / 299.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.008359, allocations: 4 kB / 299.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.641e-05/0.008395, allocations: 45.88 kB / 299.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008395, allocations: 0 / 299.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001859/0.008581, allocations: 59.8 kB / 299.4 MB, free: 15.29 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 (11): * Single equations (assignments): 9 * 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.001605/0.01019, allocations: 0.7818 MB / 300.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.0103, allocations: 52.75 kB / 300.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.0103, allocations: 4 kB / 300.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.01034, allocations: 33 kB / 300.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.01051, allocations: 53.75 kB / 300.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.01095, allocations: 215.8 kB / 300.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.01099, allocations: 67.34 kB / 300.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.762e-05/0.01104, allocations: 20.62 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/0.01111, allocations: 75.34 kB / 300.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01112, allocations: 3.938 kB / 300.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of Templates: time 0.004298/0.01541, allocations: 2.962 MB / 303.6 MB, free: 11.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.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.890375914052129]