Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001014/0.001014, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001055/0.001055, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 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 0.9458/0.9458, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.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.2876/0.2876, allocations: 34.25 MB / 296.1 MB, free: 0.6875 MB / 266.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.714e-05, allocations: 3.812 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002334/0.002361, allocations: 1.77 MB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.004106, allocations: 1.727 MB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.004184, allocations: 0 / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.004465, allocations: 35.77 kB / 328.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.004824, allocations: 107.4 kB / 329 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.005048, allocations: 83.59 kB / 329.1 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.005214, allocations: 115.6 kB / 329.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.005297, allocations: 8 kB / 329.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.005393, allocations: 55.83 kB / 329.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.005514, allocations: 35.89 kB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.005533, allocations: 8 kB / 329.3 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.005682, allocations: 107.7 kB / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.005723, allocations: 23.91 kB / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.005756, allocations: 20.44 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.005948, allocations: 155.5 kB / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.00595, allocations: 0 / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00595, allocations: 0 / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.005954, allocations: 0 / 329.6 MB, free: 3.371 MB / 298.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.0003793/0.006333, allocations: 341.4 kB / 329.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.006361, allocations: 8.031 kB / 329.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.006391, allocations: 8.938 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.006533, allocations: 142.2 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.006544, allocations: 384 / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.006562, allocations: 4.375 kB / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.006677, allocations: 108.5 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.006684, allocations: 0 / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.006691, allocations: 3.984 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.006695, allocations: 0 / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.006719, allocations: 22.77 kB / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.006895, allocations: 161.9 kB / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/0.006981, allocations: 89.34 kB / 330.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.007002, allocations: 16.8 kB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.007016, allocations: 0 / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.697e-05/0.007113, allocations: 70.14 kB / 330.5 MB, free: 2.301 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.007115, allocations: 0 / 330.5 MB, free: 2.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002627/0.007378, allocations: 117.5 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.00741, allocations: 85.09 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.007503, allocations: 148.3 kB / 330.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.00752, allocations: 33.7 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.007551, allocations: 92.11 kB / 331 MB, free: 1.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.007576, allocations: 31.72 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.007604, allocations: 17.72 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.007679, allocations: 326.8 kB / 331.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.007698, allocations: 10.83 kB / 331.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.721e-05/0.007745, allocations: 60.27 kB / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.059e-05/0.007796, allocations: 44.39 kB / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007797, allocations: 4.031 kB / 331.5 MB, free: 1.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.139e-05/0.007879, allocations: 68.44 kB / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.007889, allocations: 4 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.007893, allocations: 4 kB / 331.6 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.007902, allocations: 0 / 331.6 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.007958, allocations: 15.98 kB / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.00796, allocations: 0 / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.007991, allocations: 8 kB / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.007996, allocations: 0 / 331.6 MB, free: 1.156 MB / 298.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.435e-05/0.008061, allocations: 128.6 kB / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.008073, allocations: 8 kB / 331.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.835e-05/0.008171, allocations: 74.38 kB / 331.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.008174, allocations: 3.984 kB / 331.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.008175, allocations: 0 / 331.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.008178, allocations: 0 / 331.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.008401, allocations: 296 kB / 332.1 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008403, allocations: 0 / 332.1 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.008429, allocations: 15.98 kB / 332.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.008432, allocations: 0 / 332.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.008441, allocations: 12.03 kB / 332.1 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.008444, allocations: 4.016 kB / 332.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.008446, allocations: 3.984 kB / 332.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.008555, allocations: 207.1 kB / 332.3 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.008572, allocations: 11.94 kB / 332.3 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.008594, allocations: 8 kB / 332.3 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.295e-05/0.008637, allocations: 3.938 kB / 332.3 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.008674, allocations: 11.92 kB / 332.3 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.008691, allocations: 4 kB / 332.4 MB, free: 324 kB / 298.7 MB Notification: Performance of sorting global known variables: time 4.276e-05/0.008733, allocations: 46.08 kB / 332.4 MB, free: 276 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008733, allocations: 4 kB / 332.4 MB, free: 272 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001824/0.008916, allocations: 43.88 kB / 332.4 MB, free: 228 kB / 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.001505/0.01042, allocations: 0.7123 MB / 333.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.01053, allocations: 40.78 kB / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.01054, allocations: 0 / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.179e-05/0.01057, allocations: 32.78 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.01073, allocations: 27.94 kB / 333.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.01103, allocations: 203.7 kB / 333.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.594e-05/0.01107, allocations: 63.34 kB / 333.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.394e-05/0.01111, allocations: 17.27 kB / 333.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.01121, allocations: 79.48 kB / 333.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01121, allocations: 0 / 333.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of Templates: time 0.00448/0.01569, allocations: 2.765 MB / 336.4 MB, free: 12.62 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.898765377700329]