Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.0009414/0.0009414, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001038/0.001038, allocations: 168.9 kB / 24.84 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9464/0.9464, allocations: 158.6 MB / 186.7 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1788/0.1788, allocations: 32.38 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.932e-05, allocations: 6.25 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00239/0.00242, allocations: 1.686 MB / 350.7 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.003357, allocations: 0.7726 MB / 351.5 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.496e-05/0.003452, allocations: 7.938 kB / 351.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.003821, allocations: 59.72 kB / 351.5 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.004042, allocations: 67.69 kB / 351.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.004247, allocations: 79.75 kB / 351.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.004407, allocations: 111.6 kB / 351.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.004454, allocations: 7.938 kB / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.396e-05/0.004538, allocations: 47.84 kB / 351.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.004633, allocations: 47.88 kB / 351.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.004652, allocations: 0 / 351.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.037e-05/0.004722, allocations: 27.98 kB / 351.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.004769, allocations: 23.92 kB / 351.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.004804, allocations: 19.86 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.004955, allocations: 87.67 kB / 352 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.004958, allocations: 0 / 352 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004959, allocations: 4 kB / 352 MB, free: 6.023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.004963, allocations: 0 / 352 MB, free: 6.023 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003635/0.005327, allocations: 435.9 kB / 352.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.00536, allocations: 8.031 kB / 352.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.005392, allocations: 8.891 kB / 352.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.005514, allocations: 148.4 kB / 352.6 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.00553, allocations: 384 / 352.6 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.00554, allocations: 12.31 kB / 352.6 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.144e-05/0.005631, allocations: 54.94 kB / 352.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.00564, allocations: 3.938 kB / 352.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.005647, allocations: 4 kB / 352.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.005652, allocations: 0 / 352.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.005672, allocations: 7.984 kB / 352.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.713e-05/0.005769, allocations: 113.3 kB / 352.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.005859, allocations: 43.05 kB / 352.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.005881, allocations: 19.67 kB / 352.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.005894, allocations: 7.984 kB / 352.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.766e-05/0.005992, allocations: 61 kB / 352.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.005993, allocations: 0 / 352.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001545/0.006147, allocations: 81.58 kB / 353 MB, free: 4.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.006175, allocations: 59.34 kB / 353.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.006264, allocations: 224 kB / 353.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.006275, allocations: 25.7 kB / 353.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.00631, allocations: 150.8 kB / 353.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.006342, allocations: 11.91 kB / 353.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.006372, allocations: 23.38 kB / 353.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.00643, allocations: 0.4962 MB / 354 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.006444, allocations: 4 kB / 354 MB, free: 3.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.006467, allocations: 31.36 kB / 354 MB, free: 3.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.006501, allocations: 35.36 kB / 354.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006503, allocations: 3.938 kB / 354.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.854e-05/0.006572, allocations: 73.83 kB / 354.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.006585, allocations: 8 kB / 354.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.00659, allocations: 0 / 354.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.006603, allocations: 7.922 kB / 354.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.004e-05/0.006663, allocations: 8 kB / 354.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.006666, allocations: 3.938 kB / 354.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.006694, allocations: 4 kB / 354.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.006699, allocations: 4.031 kB / 354.2 MB, free: 3.66 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 (7): * Single equations (assignments): 7 * 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.625e-05/0.006755, allocations: 164.6 kB / 354.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.006768, allocations: 15.91 kB / 354.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.006871, allocations: 82.23 kB / 354.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006873, allocations: 3.938 kB / 354.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.006875, allocations: 0 / 354.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.006881, allocations: 0 / 354.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.049e-05/0.006951, allocations: 113.2 kB / 354.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.006953, allocations: 0 / 354.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.006971, allocations: 11.94 kB / 354.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.006973, allocations: 7.984 kB / 354.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.006978, allocations: 0 / 354.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006979, allocations: 0 / 354.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.006981, allocations: 3.984 kB / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.166e-05/0.007052, allocations: 112.3 kB / 354.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.007065, allocations: 15.92 kB / 354.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.00708, allocations: 4 kB / 354.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.007099, allocations: 0 / 354.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.007122, allocations: 3.984 kB / 354.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.007133, allocations: 12.12 kB / 354.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.238e-05/0.007175, allocations: 160 kB / 354.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007175, allocations: 0 / 354.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.007319, allocations: 16 kB / 354.9 MB, free: 2.883 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008261/0.008145, allocations: 397.7 kB / 355.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.008253, allocations: 35.67 kB / 355.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008255, allocations: 0 / 355.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.008286, allocations: 31.59 kB / 355.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.008484, allocations: 25.23 kB / 355.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.008782, allocations: 181.4 kB / 355.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.494e-05/0.008817, allocations: 67.28 kB / 355.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.401e-05/0.008851, allocations: 12.55 kB / 355.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.008905, allocations: 90.19 kB / 355.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.008905, allocations: 0 / 355.7 MB, free: 2.098 MB / 282.7 MB Notification: Performance of Templates: time 0.003752/0.01266, allocations: 1.773 MB / 357.5 MB, free: 344 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.1691033858805895]