Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.0009975/0.0009975, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001032/0.001032, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.9482/0.9482, allocations: 177.1 MB / 205 MB, free: 5.289 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.258/0.258, allocations: 34.25 MB / 295.7 MB, free: 0.7148 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.648e-05, allocations: 6.25 kB / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002351/0.002377, allocations: 1.711 MB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.003587, allocations: 0.9936 MB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.003663, allocations: 4 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.003965, allocations: 47.75 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.004299, allocations: 119.4 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.004504, allocations: 71.62 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.004662, allocations: 103.7 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.004701, allocations: 4.234 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.758e-05/0.004789, allocations: 51.78 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.004863, allocations: 31.89 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.004878, allocations: 4 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.092e-05/0.004949, allocations: 24 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.005006, allocations: 35.86 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.005047, allocations: 19.92 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.005219, allocations: 99.59 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005221, allocations: 0 / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005222, allocations: 0 / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005226, allocations: 0 / 381.4 MB, free: 15.24 MB / 362.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.0007978/0.006024, allocations: 475.6 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.00606, allocations: 12.03 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.006107, allocations: 12.84 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.006291, allocations: 161.3 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.00631, allocations: 8.359 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.006323, allocations: 8.375 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.006443, allocations: 54.94 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.006452, allocations: 3.938 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.006462, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.006469, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.869e-05/0.006508, allocations: 19.92 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.006664, allocations: 156.6 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.006765, allocations: 47.11 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.006792, allocations: 15.69 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.006806, allocations: 0 / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.467e-05/0.006901, allocations: 69.03 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.006902, allocations: 0 / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002014/0.007103, allocations: 97.45 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.007139, allocations: 55.41 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.007311, allocations: 273.6 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.007324, allocations: 25.7 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.007391, allocations: 162.9 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.007426, allocations: 19.89 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.007457, allocations: 27.38 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.007588, allocations: 0.5001 MB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.007608, allocations: 8 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.007639, allocations: 27.61 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.153e-05/0.00769, allocations: 43.31 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.007693, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.03e-05/0.007783, allocations: 77.53 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.007799, allocations: 10.03 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.007807, allocations: 7.922 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.007822, allocations: 4.031 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.007889, allocations: 8 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.007895, allocations: 0 / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.007926, allocations: 4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.007933, allocations: 4 kB / 383.8 MB, free: 12.65 MB / 362.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 8.211e-05/0.008015, allocations: 160.6 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.008033, allocations: 15.91 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.008169, allocations: 94.84 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008171, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.008174, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.00818, allocations: 8 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.008283, allocations: 164.5 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008284, allocations: 0 / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.0083, allocations: 4 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.008302, allocations: 4 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.008308, allocations: 3.938 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.008311, allocations: 3.938 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.008312, allocations: 0 / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.008412, allocations: 128.4 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.008428, allocations: 15.89 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.008447, allocations: 8 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.00847, allocations: 7.922 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.008504, allocations: 4 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.008516, allocations: 0 / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.539e-05/0.008612, allocations: 200.5 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008612, allocations: 0 / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001495/0.008761, allocations: 20 kB / 384.6 MB, free: 11.75 MB / 362.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.0007771/0.009538, allocations: 376.5 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.009642, allocations: 39.61 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.009643, allocations: 0 / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.383e-05/0.009677, allocations: 27.67 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.009868, allocations: 27.8 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.01023, allocations: 242.6 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.14e-05/0.01027, allocations: 67.33 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.0103, allocations: 8.5 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.01033, allocations: 20.48 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01033, allocations: 0 / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of Templates: time 0.003593/0.01392, allocations: 1.675 MB / 387.1 MB, free: 9.395 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.179098079446703]