Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.0009541/0.0009541, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.001012/0.001012, allocations: 171.4 kB / 24.91 MB, free: 8.719 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.9892/0.9892, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2646/0.2646, allocations: 34.27 MB / 296.1 MB, free: 0.6602 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.815e-05, allocations: 4.172 kB / 325.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002501/0.002519, allocations: 1.846 MB / 327.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.004571, allocations: 1.805 MB / 329 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.004647, allocations: 0 / 329 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.004907, allocations: 55.62 kB / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.005267, allocations: 151.2 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.005486, allocations: 115.5 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.005718, allocations: 207.2 kB / 329.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.005763, allocations: 10.47 kB / 329.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.005905, allocations: 103.7 kB / 329.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.006055, allocations: 67.73 kB / 329.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.006078, allocations: 8 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.006248, allocations: 111.8 kB / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.006307, allocations: 35.84 kB / 329.8 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.006358, allocations: 40.34 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.006625, allocations: 207.2 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.006627, allocations: 0 / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.006627, allocations: 0 / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.00663, allocations: 0 / 330.1 MB, free: 2.836 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004509/0.007081, allocations: 404.9 kB / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.007111, allocations: 12.03 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.00715, allocations: 12.92 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.00735, allocations: 177.4 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.007366, allocations: 4.375 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.00738, allocations: 4.375 kB / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.007541, allocations: 160.6 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.007549, allocations: 3.938 kB / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.007558, allocations: 0 / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.007564, allocations: 3.984 kB / 330.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.739e-05/0.007602, allocations: 21.58 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.007705, allocations: 90.36 kB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.007819, allocations: 70.88 kB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.007851, allocations: 29.66 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.00786, allocations: 3.938 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.007972, allocations: 103.8 kB / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.42e-07/0.007973, allocations: 0 / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000155/0.008128, allocations: 91.25 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.008182, allocations: 136.5 kB / 331.4 MB, free: 1.344 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.008359, allocations: 217.1 kB / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.008378, allocations: 33.7 kB / 331.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.008414, allocations: 104.5 kB / 331.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.008448, allocations: 35.77 kB / 331.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.00849, allocations: 29.7 kB / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.008577, allocations: 330.8 kB / 332.1 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.367e-05/0.0086, allocations: 14.81 kB / 332.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.709e-05/0.008657, allocations: 100.5 kB / 332.2 MB, free: 432 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.34e-05/0.008731, allocations: 76.31 kB / 332.3 MB, free: 340 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.008733, allocations: 0 / 332.3 MB, free: 340 kB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001125/0.008845, allocations: 95.28 kB / 332.4 MB, free: 236 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.008854, allocations: 4 kB / 332.4 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.008859, allocations: 4 kB / 332.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.008871, allocations: 0 / 332.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.008948, allocations: 27.86 kB / 332.4 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.008952, allocations: 4 kB / 332.4 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.384e-05/0.009006, allocations: 11.95 kB / 332.4 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.009013, allocations: 4 kB / 332.4 MB, free: 180 kB / 298.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.122e-05/0.009084, allocations: 116.7 kB / 332.5 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.009109, allocations: 20.03 kB / 332.6 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.009239, allocations: 94.75 kB / 332.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.009241, allocations: 0 / 332.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.009244, allocations: 3.938 kB / 332.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.009247, allocations: 4 kB / 332.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.009356, allocations: 101.8 kB / 332.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.009359, allocations: 8.234 kB / 332.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.009388, allocations: 15.94 kB / 332.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.00939, allocations: 0 / 332.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.009397, allocations: 4 kB / 332.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.0094, allocations: 4 kB / 332.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009401, allocations: 4 kB / 332.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.009514, allocations: 127.4 kB / 332.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.009539, allocations: 19.86 kB / 332.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.009566, allocations: 7.984 kB / 333 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.009607, allocations: 7.984 kB / 333 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.009636, allocations: 15.92 kB / 333 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.00965, allocations: 7.938 kB / 333 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.759e-05/0.009728, allocations: 74.25 kB / 333.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009728, allocations: 0 / 333.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.009946, allocations: 51.86 kB / 333.1 MB, free: 15.44 MB / 314.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001427/0.01137, allocations: 0.6439 MB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.01149, allocations: 60.75 kB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.01149, allocations: 0 / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.01154, allocations: 36.78 kB / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.01172, allocations: 58.81 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.01209, allocations: 276.1 kB / 334.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.01213, allocations: 84.05 kB / 334.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.862e-05/0.0122, allocations: 29.45 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.01233, allocations: 91.34 kB / 334.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01233, allocations: 0 / 334.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of Templates: time 0.005754/0.01809, allocations: 3.738 MB / 338.1 MB, free: 10.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.0257265316322446]