Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.000981/0.000981, allocations: 95.22 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.0009858/0.0009858, allocations: 169 kB / 23.8 MB, free: 0.7734 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.05/1.05, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1418/0.1418, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.428e-05/4.678e-05, allocations: 2.312 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004153/0.0042, allocations: 1.732 MB / 349.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.005624, allocations: 0.8076 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.005728, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.006158, allocations: 51.7 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.006505, allocations: 59.75 kB / 350.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.006895, allocations: 91.69 kB / 350.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.007152, allocations: 95.62 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.007294, allocations: 8.234 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.007434, allocations: 51.83 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.007539, allocations: 23.91 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.007573, allocations: 8 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.007697, allocations: 43.92 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.007771, allocations: 39.78 kB / 350.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.00783, allocations: 19.92 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.008107, allocations: 111.5 kB / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.008113, allocations: 0 / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008114, allocations: 0 / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.008121, allocations: 4 kB / 350.9 MB, free: 6.215 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.0005519/0.008673, allocations: 467.7 kB / 351.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.008721, allocations: 12.02 kB / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.008784, allocations: 16.84 kB / 351.4 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.00898, allocations: 177.1 kB / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.009002, allocations: 4.375 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.009027, allocations: 4.375 kB / 351.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.009184, allocations: 62.94 kB / 351.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.009197, allocations: 3.938 kB / 351.6 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.009208, allocations: 0 / 351.6 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.009216, allocations: 0 / 351.6 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.343e-05/0.009259, allocations: 15.92 kB / 351.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.009613, allocations: 295.8 kB / 351.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.009747, allocations: 59.11 kB / 352 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.009786, allocations: 19.61 kB / 352 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.009801, allocations: 4 kB / 352 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.009916, allocations: 69.05 kB / 352.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.009917, allocations: 0 / 352.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005024/0.01042, allocations: 161.3 kB / 352.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.01045, allocations: 51.41 kB / 352.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.01063, allocations: 274.8 kB / 352.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.01065, allocations: 33.7 kB / 352.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.0107, allocations: 170.8 kB / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.01073, allocations: 27.78 kB / 352.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.01077, allocations: 31.38 kB / 352.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.01085, allocations: 0.5001 MB / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.01088, allocations: 12 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.01092, allocations: 31.73 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.398e-05/0.011, allocations: 59.3 kB / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.011, allocations: 0 / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001448/0.01114, allocations: 93.53 kB / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.01116, allocations: 8.031 kB / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.01117, allocations: 0 / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01118, allocations: 4 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.01128, allocations: 19.92 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.01129, allocations: 0 / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.01133, allocations: 4 kB / 353.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.01134, allocations: 4 kB / 353.5 MB, free: 3.336 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 6.947e-05/0.01141, allocations: 160.5 kB / 353.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.01144, allocations: 19.91 kB / 353.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.01163, allocations: 111.2 kB / 353.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.01164, allocations: 8 kB / 353.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.01164, allocations: 0 / 353.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01164, allocations: 0 / 353.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.01197, allocations: 412.9 kB / 354.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01197, allocations: 0 / 354.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.01202, allocations: 11.98 kB / 354.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01202, allocations: 3.938 kB / 354.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01203, allocations: 7.984 kB / 354.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01204, allocations: 0 / 354.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01204, allocations: 0 / 354.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.0122, allocations: 267.4 kB / 354.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.01223, allocations: 15.91 kB / 354.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.01225, allocations: 0 / 354.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.01232, allocations: 4 kB / 354.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.01236, allocations: 7.922 kB / 354.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.01238, allocations: 8 kB / 354.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.01249, allocations: 205.3 kB / 354.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01249, allocations: 4 kB / 354.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002899/0.01278, allocations: 23.94 kB / 354.8 MB, free: 2.004 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.001301/0.01408, allocations: 441.2 kB / 355.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.01423, allocations: 59.52 kB / 355.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01423, allocations: 0 / 355.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.01428, allocations: 39.61 kB / 355.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.01464, allocations: 24.16 kB / 355.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.01508, allocations: 261.8 kB / 355.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.583e-05/0.01512, allocations: 79.33 kB / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.352e-05/0.01517, allocations: 16.47 kB / 355.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.01521, allocations: 16.5 kB / 355.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01521, allocations: 0 / 355.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of Templates: time 0.00519/0.0204, allocations: 1.989 MB / 357.7 MB, free: 15.14 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.267271796707064]