Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.0009769/0.0009769, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001404/0.001404, allocations: 169 kB / 24.25 MB, free: 312 kB / 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 1.097/1.097, allocations: 158.6 MB / 186 MB, free: 2.922 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.1344/0.1344, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 347.7 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.424e-05/3.664e-05, allocations: 6.25 kB / 347.8 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002382/0.002418, allocations: 1.873 MB / 349.6 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.003548, allocations: 0.8816 MB / 350.5 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.139e-05/0.003639, allocations: 4 kB / 350.5 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.004034, allocations: 159.4 kB / 350.7 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.0043, allocations: 139.4 kB / 350.8 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.004539, allocations: 151.5 kB / 350.9 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.004748, allocations: 219.3 kB / 351.2 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.004862, allocations: 17.78 kB / 351.2 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.004985, allocations: 115.7 kB / 351.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.005118, allocations: 127.7 kB / 351.4 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.005149, allocations: 8 kB / 351.4 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.348e-05/0.005233, allocations: 43.92 kB / 351.5 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.005308, allocations: 55.83 kB / 351.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.005363, allocations: 39.8 kB / 351.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.005582, allocations: 155.4 kB / 351.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.005584, allocations: 3.938 kB / 351.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005585, allocations: 0 / 351.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.00559, allocations: 0 / 351.7 MB, free: 5.723 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005248/0.006115, allocations: 0.5537 MB / 352.3 MB, free: 5.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.00616, allocations: 12.03 kB / 352.3 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.006223, allocations: 28.8 kB / 352.3 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.006424, allocations: 203.6 kB / 352.5 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.006446, allocations: 8.375 kB / 352.5 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.00647, allocations: 4.375 kB / 352.5 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.006637, allocations: 110.2 kB / 352.6 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.006649, allocations: 3.938 kB / 352.6 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.006661, allocations: 0 / 352.6 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.006669, allocations: 3.938 kB / 352.6 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.315e-05/0.006722, allocations: 27.97 kB / 352.7 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.00712, allocations: 486.6 kB / 353.1 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.007265, allocations: 110.2 kB / 353.2 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.007311, allocations: 35.36 kB / 353.3 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.007325, allocations: 4 kB / 353.3 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.007459, allocations: 112.3 kB / 353.4 MB, free: 3.863 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.784e-06/0.007461, allocations: 3.984 kB / 353.4 MB, free: 3.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005378/0.007999, allocations: 317.4 kB / 353.7 MB, free: 3.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.008031, allocations: 77.11 kB / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.008214, allocations: 350.3 kB / 354.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.008226, allocations: 29.7 kB / 354.2 MB, free: 3.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.008286, allocations: 199.1 kB / 354.4 MB, free: 2.855 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.00832, allocations: 47.62 kB / 354.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.008357, allocations: 43.36 kB / 354.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.008431, allocations: 0.5157 MB / 355 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.008469, allocations: 24.05 kB / 355 MB, free: 2.207 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.758e-05/0.008517, allocations: 66.73 kB / 355 MB, free: 2.125 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.657e-05/0.008603, allocations: 102.8 kB / 355.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008604, allocations: 4 kB / 355.1 MB, free: 2.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001523/0.008757, allocations: 157.4 kB / 355.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.00877, allocations: 4 kB / 355.3 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.008775, allocations: 0 / 355.3 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.008789, allocations: 4 kB / 355.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.888e-05/0.008888, allocations: 35.92 kB / 355.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.008896, allocations: 4 kB / 355.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.008937, allocations: 4 kB / 355.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.008947, allocations: 11.98 kB / 355.4 MB, free: 1.781 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.111e-05/0.009018, allocations: 176.5 kB / 355.5 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.009043, allocations: 39.75 kB / 355.6 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.009248, allocations: 179.4 kB / 355.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.00925, allocations: 0 / 355.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.009255, allocations: 4 kB / 355.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.009259, allocations: 3.938 kB / 355.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.009619, allocations: 0.6367 MB / 356.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.00962, allocations: 0 / 356.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.009664, allocations: 31.98 kB / 356.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.009667, allocations: 0 / 356.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.009679, allocations: 8 kB / 356.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.009681, allocations: 0 / 356.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.009684, allocations: 7.938 kB / 356.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.009865, allocations: 464.9 kB / 356.9 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.009882, allocations: 19.86 kB / 356.9 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.009907, allocations: 8 kB / 356.9 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.009982, allocations: 11.98 kB / 356.9 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.01003, allocations: 11.92 kB / 356.9 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.01005, allocations: 15.98 kB / 357 MB, free: 92 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.0102, allocations: 239 kB / 357.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.0102, allocations: 0 / 357.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.01043, allocations: 43.89 kB / 357.2 MB, free: 15.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009976/0.01143, allocations: 435.4 kB / 357.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.01162, allocations: 99.56 kB / 357.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01162, allocations: 0 / 357.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.199e-05/0.01169, allocations: 55.73 kB / 357.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.01205, allocations: 60.02 kB / 357.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.01257, allocations: 404.6 kB / 358.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.067e-05/0.01263, allocations: 83.97 kB / 358.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.442e-05/0.0127, allocations: 46.27 kB / 358.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.01274, allocations: 28.5 kB / 358.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01274, allocations: 0 / 358.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Templates: time 0.005076/0.01782, allocations: 2.92 MB / 361.3 MB, free: 11.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.463112354045734]