Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.001976/0.001976, allocations: 84.23 kB / 20.21 MB, free: 4.23 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.002179/0.002179, allocations: 161.7 kB / 23.51 MB, free: 0.9258 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 1.59/1.59, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2335/0.2335, allocations: 32.37 MB / 270 MB, free: 14.79 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.462e-05, allocations: 2.312 kB / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.00222/0.002245, allocations: 1.684 MB / 348.7 MB, free: 8.043 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.003758, allocations: 1.474 MB / 350.2 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.782e-05/0.003826, allocations: 0 / 350.2 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.004109, allocations: 47.7 kB / 350.2 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.004351, allocations: 59.62 kB / 350.3 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.004581, allocations: 87.7 kB / 350.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.00472, allocations: 99.69 kB / 350.5 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.004799, allocations: 12.22 kB / 350.5 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.004902, allocations: 55.77 kB / 350.5 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.005004, allocations: 27.91 kB / 350.6 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.005025, allocations: 4 kB / 350.6 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.005134, allocations: 63.91 kB / 350.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.005181, allocations: 15.92 kB / 350.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.005224, allocations: 15.94 kB / 350.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.005423, allocations: 131.5 kB / 350.8 MB, free: 5.949 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005426, allocations: 0 / 350.8 MB, free: 5.949 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005427, allocations: 4 kB / 350.8 MB, free: 5.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005431, allocations: 0 / 350.8 MB, free: 5.945 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004332/0.005864, allocations: 333.6 kB / 351.1 MB, free: 5.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.005894, allocations: 8.031 kB / 351.1 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.005953, allocations: 20.89 kB / 351.1 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.006154, allocations: 137.6 kB / 351.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.006169, allocations: 8.359 kB / 351.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.006193, allocations: 4.375 kB / 351.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.006355, allocations: 101.6 kB / 351.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.006367, allocations: 3.938 kB / 351.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.006378, allocations: 8 kB / 351.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.006381, allocations: 0 / 351.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.006453, allocations: 19.98 kB / 351.4 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.006717, allocations: 224.6 kB / 351.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.006889, allocations: 54.62 kB / 351.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.006941, allocations: 24.78 kB / 351.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.006957, allocations: 0 / 351.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.007089, allocations: 67.39 kB / 351.8 MB, free: 4.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.00709, allocations: 4 kB / 351.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005449/0.007635, allocations: 189.3 kB / 352 MB, free: 4.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.007662, allocations: 77.11 kB / 352 MB, free: 4.535 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.007786, allocations: 160.8 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.007797, allocations: 25.7 kB / 352.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.007825, allocations: 96.12 kB / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.007849, allocations: 27.78 kB / 352.3 MB, free: 4.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.007885, allocations: 25.72 kB / 352.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.844e-05/0.007923, allocations: 318.8 kB / 352.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.007978, allocations: 31.86 kB / 352.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.008037, allocations: 72.27 kB / 352.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.845e-05/0.008135, allocations: 61.64 kB / 352.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.008136, allocations: 0 / 352.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001639/0.0083, allocations: 109.5 kB / 352.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.008312, allocations: 8 kB / 353 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.008317, allocations: 0 / 353 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.008335, allocations: 0 / 353 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.507e-05/0.00842, allocations: 19.98 kB / 353 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.008426, allocations: 4.438 kB / 353 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.008473, allocations: 4 kB / 353 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.008481, allocations: 7.938 kB / 353 MB, free: 3.523 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 (10): * Single equations (assignments): 10 * 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.961e-05/0.00854, allocations: 126.8 kB / 353.1 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.008565, allocations: 15.95 kB / 353.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.008786, allocations: 122.5 kB / 353.3 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.008789, allocations: 0 / 353.3 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.008792, allocations: 0 / 353.3 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.008796, allocations: 4 kB / 353.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.009111, allocations: 342.9 kB / 353.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009112, allocations: 0 / 353.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.009147, allocations: 8 kB / 353.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.009149, allocations: 4 kB / 353.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.009157, allocations: 0 / 353.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.009159, allocations: 0 / 353.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.00916, allocations: 4 kB / 353.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.009347, allocations: 220.2 kB / 353.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.009361, allocations: 7.953 kB / 353.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.009384, allocations: 4 kB / 353.8 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.009459, allocations: 8.031 kB / 353.8 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.009498, allocations: 7.969 kB / 353.8 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.009511, allocations: 4 kB / 353.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.607e-05/0.009587, allocations: 127.2 kB / 354 MB, free: 2.465 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009587, allocations: 0 / 354 MB, free: 2.465 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.009855, allocations: 35.92 kB / 354 MB, free: 2.43 MB / 282.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: 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 (9): * Single equations (assignments): 7 * 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.002171/0.01203, allocations: 0.5335 MB / 354.5 MB, free: 2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.01221, allocations: 59.91 kB / 354.6 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01221, allocations: 0 / 354.6 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.874e-05/0.01228, allocations: 28.14 kB / 354.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.01266, allocations: 37.86 kB / 354.7 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.01307, allocations: 200.6 kB / 354.9 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.61e-05/0.01312, allocations: 87.17 kB / 354.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.555e-05/0.01318, allocations: 12.48 kB / 355 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.01322, allocations: 20.48 kB / 355 MB, free: 1.516 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01322, allocations: 4 kB / 355 MB, free: 1.512 MB / 282.7 MB Notification: Performance of Templates: time 0.005476/0.0187, allocations: 2.128 MB / 357.1 MB, free: 15.4 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.127467149985023]