Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.001154/0.001154, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001288/0.001288, allocations: 169 kB / 23.8 MB, free: 0.7773 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.063/1.063, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1321/0.1321, allocations: 32.38 MB / 270.4 MB, free: 14.71 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.707e-05, allocations: 6.25 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.001778/0.001795, allocations: 1.733 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.002648, allocations: 0.7998 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.002718, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.003048, allocations: 91.64 kB / 350.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.003285, allocations: 79.66 kB / 350.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.003481, allocations: 87.69 kB / 350.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.003618, allocations: 115.6 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.003703, allocations: 8.234 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.003776, allocations: 63.8 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.1e-05/0.003867, allocations: 63.86 kB / 350.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.003884, allocations: 4 kB / 350.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.003956, allocations: 35.94 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.004004, allocations: 31.86 kB / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.004042, allocations: 23.91 kB / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.004199, allocations: 99.59 kB / 351 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004201, allocations: 4 kB / 351 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004202, allocations: 0 / 351 MB, free: 6.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.004206, allocations: 0 / 351 MB, free: 6.117 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.0004142/0.00462, allocations: 459.8 kB / 351.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.004654, allocations: 12.03 kB / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.004698, allocations: 12.84 kB / 351.5 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.004835, allocations: 144.4 kB / 351.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.004852, allocations: 4.375 kB / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.004871, allocations: 8.312 kB / 351.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.004975, allocations: 62.94 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.004985, allocations: 11.92 kB / 351.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.004995, allocations: 0 / 351.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.005002, allocations: 4 kB / 351.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.005031, allocations: 4 kB / 351.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.005281, allocations: 303.7 kB / 352 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/0.005378, allocations: 55.09 kB / 352 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.005407, allocations: 19.62 kB / 352.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.005419, allocations: 0 / 352.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.638e-05/0.005506, allocations: 65.05 kB / 352.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.005507, allocations: 4 kB / 352.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003704/0.005877, allocations: 157.4 kB / 352.3 MB, free: 4.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.005904, allocations: 59.39 kB / 352.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.006009, allocations: 241.9 kB / 352.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.006018, allocations: 29.7 kB / 352.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.006059, allocations: 158.9 kB / 352.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.006084, allocations: 23.8 kB / 352.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.006111, allocations: 27.38 kB / 352.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.006167, allocations: 0.5001 MB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.006188, allocations: 15.94 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.00622, allocations: 39.73 kB / 353.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.688e-05/0.006267, allocations: 47.31 kB / 353.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006269, allocations: 3.984 kB / 353.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.627e-05/0.006355, allocations: 97.52 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.006366, allocations: 4 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.006372, allocations: 4 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.006385, allocations: 0 / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.006447, allocations: 19.92 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.006452, allocations: 3.984 kB / 353.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.006478, allocations: 15.97 kB / 353.6 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.006484, allocations: 4 kB / 353.6 MB, free: 3.312 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.537e-05/0.00654, allocations: 160.5 kB / 353.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.006553, allocations: 15.91 kB / 353.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.006693, allocations: 111.2 kB / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006694, allocations: 0 / 353.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.006699, allocations: 4 kB / 353.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.006703, allocations: 0 / 353.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.006924, allocations: 397 kB / 354.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006925, allocations: 4.031 kB / 354.2 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.006947, allocations: 12 kB / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.006949, allocations: 0 / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.006956, allocations: 0 / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006958, allocations: 4 kB / 354.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.006959, allocations: 0 / 354.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.766e-05/0.007057, allocations: 259.4 kB / 354.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.007067, allocations: 15.91 kB / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.007082, allocations: 3.984 kB / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.007117, allocations: 4 kB / 354.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.007147, allocations: 11.98 kB / 354.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.007159, allocations: 8 kB / 354.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.246e-05/0.007212, allocations: 175.1 kB / 354.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007212, allocations: 0 / 354.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.007373, allocations: 31.92 kB / 354.7 MB, free: 2.031 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.0008409/0.008214, allocations: 441.6 kB / 355.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.008335, allocations: 55.53 kB / 355.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008336, allocations: 0 / 355.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.008369, allocations: 35.69 kB / 355.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.008591, allocations: 31.97 kB / 355.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.0089, allocations: 237.7 kB / 355.5 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.94e-05/0.008929, allocations: 71.28 kB / 355.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.943e-05/0.008959, allocations: 16.47 kB / 355.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.008987, allocations: 16.5 kB / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of SimCode: time 4.7e-07/0.008988, allocations: 0 / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of Templates: time 0.003394/0.01238, allocations: 1.99 MB / 357.6 MB, free: 15.2 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.179789926856756]