Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009271/0.0009271, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009403/0.0009403, allocations: 170.5 kB / 24.82 MB, free: 9.273 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2696/0.2696, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 376.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.857e-05, allocations: 9.203 kB / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002546/0.002575, allocations: 1.704 MB / 378.3 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.003851, allocations: 0.9819 MB / 379.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.265e-05/0.003943, allocations: 0 / 379.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.004244, allocations: 55.69 kB / 379.3 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.004566, allocations: 107.5 kB / 379.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.004763, allocations: 75.66 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.004929, allocations: 107.6 kB / 379.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.004972, allocations: 4.219 kB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.005067, allocations: 51.84 kB / 379.6 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.005151, allocations: 23.92 kB / 379.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.005167, allocations: 7.938 kB / 379.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.253e-05/0.00525, allocations: 31.97 kB / 379.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.005303, allocations: 31.92 kB / 379.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.005345, allocations: 23.86 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.00552, allocations: 95.66 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005523, allocations: 0 / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005525, allocations: 0 / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.005529, allocations: 0 / 379.9 MB, free: 1.008 MB / 346.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.0004597/0.005989, allocations: 471.7 kB / 380.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.006028, allocations: 8.031 kB / 380.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.006074, allocations: 24.72 kB / 380.3 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.006249, allocations: 165.2 kB / 380.5 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.006266, allocations: 4.375 kB / 380.5 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.006274, allocations: 384 / 380.5 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.006383, allocations: 58.92 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.006391, allocations: 7.938 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.0064, allocations: 4 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.006405, allocations: 0 / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.516e-05/0.00643, allocations: 7.984 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.006565, allocations: 117.3 kB / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.997e-05/0.006655, allocations: 47.05 kB / 380.8 MB, free: 0 / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.006679, allocations: 19.72 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.006699, allocations: 0 / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.905e-05/0.006798, allocations: 73.03 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.006799, allocations: 0 / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001816/0.006981, allocations: 93.45 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.007011, allocations: 51.41 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.007165, allocations: 266.6 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.007181, allocations: 29.7 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.007248, allocations: 166.8 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.007281, allocations: 11.89 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.007316, allocations: 35.36 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.007457, allocations: 0.4962 MB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.007478, allocations: 4 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.007506, allocations: 31.36 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.007551, allocations: 39.3 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.007553, allocations: 0 / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.343e-05/0.007646, allocations: 69.59 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.007659, allocations: 4 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007664, allocations: 3.938 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.00768, allocations: 7.969 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.007743, allocations: 15.98 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.007746, allocations: 0 / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.007779, allocations: 4 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.007784, allocations: 0 / 382.2 MB, free: 14.48 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 9.948e-05/0.007884, allocations: 164.5 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.007904, allocations: 15.91 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.008036, allocations: 86.75 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.00804, allocations: 3.938 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.008043, allocations: 384 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.008047, allocations: 4 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.00815, allocations: 137.1 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.008153, allocations: 4 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.008173, allocations: 4 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008175, allocations: 0 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.008181, allocations: 4 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008183, allocations: 0 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008184, allocations: 0 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.00829, allocations: 120.3 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.008306, allocations: 11.91 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.008323, allocations: 8 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.35e-05/0.008346, allocations: 3.938 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.008373, allocations: 7.984 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.008386, allocations: 3.938 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.658e-05/0.008472, allocations: 188.5 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008472, allocations: 0 / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001571/0.008629, allocations: 16 kB / 382.9 MB, free: 13.65 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.0008575/0.009487, allocations: 395.9 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.511e-05/0.009582, allocations: 27.67 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009584, allocations: 0 / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.009614, allocations: 23.62 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.009811, allocations: 35.73 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.01014, allocations: 230.7 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.985e-05/0.01018, allocations: 75.27 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.424e-05/0.01022, allocations: 12.73 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.01028, allocations: 94.12 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01028, allocations: 0 / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of Templates: time 0.003709/0.01399, allocations: 1.823 MB / 385.6 MB, free: 11.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1409473377279937]