Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.00104/0.00104, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009457/0.001985, 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.0006686/0.0006686, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008146/0.001483, 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.097/1.097, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.198, allocations: 53.66 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.2667/0.2667, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02526/0.292, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.074e-05, allocations: 3.188 kB / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002899/0.00293, allocations: 2.007 MB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.00455, allocations: 1.057 MB / 295.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.004688, allocations: 4 kB / 295.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.005045, allocations: 43.64 kB / 295.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.00533, allocations: 99.41 kB / 295.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.005613, allocations: 99.58 kB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.005834, allocations: 151.5 kB / 296.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.005949, allocations: 22.39 kB / 296.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.006107, allocations: 114.8 kB / 296.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.006206, allocations: 35.89 kB / 296.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.006226, allocations: 11.94 kB / 296.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.006327, allocations: 47.97 kB / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.006377, allocations: 15.94 kB / 296.4 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.006418, allocations: 27.88 kB / 296.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.006647, allocations: 123.5 kB / 296.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.05e-05/0.006667, allocations: 4 kB / 296.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.006668, allocations: 0 / 296.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.343e-05/0.006692, allocations: 0 / 296.6 MB, free: 2.355 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00067/0.007362, allocations: 406.5 kB / 297 MB, free: 1.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.007409, allocations: 12.03 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.007476, allocations: 16.92 kB / 297 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.007694, allocations: 166.3 kB / 297.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.007713, allocations: 4.375 kB / 297.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.007733, allocations: 8.375 kB / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.00791, allocations: 139.2 kB / 297.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.007923, allocations: 3.938 kB / 297.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.007936, allocations: 8 kB / 297.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.007942, allocations: 0 / 297.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.259e-05/0.007985, allocations: 22.75 kB / 297.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.008603, allocations: 382 kB / 297.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.008811, allocations: 97.28 kB / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.008838, allocations: 28.83 kB / 297.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.008855, allocations: 0 / 297.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.008994, allocations: 95.86 kB / 297.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.008996, allocations: 0 / 297.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001613/0.009157, allocations: 77.59 kB / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.009187, allocations: 51.41 kB / 298 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.009308, allocations: 189.6 kB / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.009326, allocations: 33.7 kB / 298.3 MB, free: 484 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.009382, allocations: 100 kB / 298.4 MB, free: 380 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.009409, allocations: 35.72 kB / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.009444, allocations: 37.69 kB / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.009551, allocations: 330.7 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.00958, allocations: 10.83 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.009617, allocations: 45.78 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.976e-05/0.009686, allocations: 81.88 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.009689, allocations: 0 / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001056/0.009795, allocations: 100.3 kB / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.009808, allocations: 4 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.009814, allocations: 0 / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.009825, allocations: 4 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.009907, allocations: 23.98 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.00991, allocations: 0 / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.009947, allocations: 11.95 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.009952, allocations: 0 / 299 MB, free: 15.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 7.74e-05/0.01003, allocations: 126.4 kB / 299.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.01005, allocations: 19.98 kB / 299.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.01016, allocations: 79.06 kB / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01016, allocations: 4 kB / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01016, allocations: 0 / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01017, allocations: 0 / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.875e-05/0.01027, allocations: 101.8 kB / 299.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.01027, allocations: 3.938 kB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.253e-05/0.01035, allocations: 12 kB / 299.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.01037, allocations: 23.81 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01038, allocations: 4 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.01039, allocations: 8 kB / 299.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.01039, allocations: 0 / 299.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01039, allocations: 0 / 299.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.01053, allocations: 115.8 kB / 299.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.01055, allocations: 3.984 kB / 299.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.851e-05/0.01058, allocations: 4 kB / 299.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.01061, allocations: 11.98 kB / 299.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.01062, allocations: 0 / 299.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.992e-05/0.01067, allocations: 53.42 kB / 299.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01067, allocations: 0 / 299.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.01082, allocations: 35.91 kB / 299.6 MB, free: 15 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001444/0.01227, allocations: 0.5548 MB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.01244, allocations: 56.7 kB / 300.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/0.01245, allocations: 0 / 300.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.0125, allocations: 28.78 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.01274, allocations: 52.16 kB / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.01344, allocations: 253.9 kB / 300.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.994e-05/0.01349, allocations: 71.83 kB / 300.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.697e-05/0.01355, allocations: 13.48 kB / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.01364, allocations: 79.28 kB / 300.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of SimCode: time 1.974e-06/0.01364, allocations: 0 / 300.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of Templates: time 0.005275/0.01892, allocations: 2.241 MB / 303 MB, free: 11.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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: 3.0547290220856667]