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.0008874/0.0008874, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.0009189/0.0009189, allocations: 164.3 kB / 24.84 MB, free: 9.25 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 0.9321/0.9321, allocations: 158.6 MB / 186.7 MB, free: 2.797 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.1362/0.1362, allocations: 32.38 MB / 271.5 MB, free: 14.54 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 7.92e-07/7.92e-07, allocations: 0 / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.868e-06/1.066e-05, allocations: 8.219 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.001673/0.001683, allocations: 1.726 MB / 350.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008381/0.002522, allocations: 0.7881 MB / 351.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.002573, allocations: 0 / 351.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.002772, allocations: 51.75 kB / 351.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.002922, allocations: 63.69 kB / 351.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.003074, allocations: 87.7 kB / 351.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.003178, allocations: 103.6 kB / 351.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.91e-05/0.003237, allocations: 4.234 kB / 351.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.003297, allocations: 47.84 kB / 351.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.003351, allocations: 31.89 kB / 351.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.003365, allocations: 4 kB / 351.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.979e-05/0.003425, allocations: 43.92 kB / 351.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.003463, allocations: 35.86 kB / 352 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.003489, allocations: 19.92 kB / 352 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.003618, allocations: 115.5 kB / 352.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00362, allocations: 0 / 352.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.00362, allocations: 4 kB / 352.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.003624, allocations: 3.938 kB / 352.1 MB, free: 5.949 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.000293/0.003917, allocations: 467.7 kB / 352.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.436e-05/0.003942, allocations: 8.031 kB / 352.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.003971, allocations: 24.84 kB / 352.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.83e-05/0.004069, allocations: 173.1 kB / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.00408, allocations: 384 / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.004093, allocations: 4.375 kB / 352.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.41e-05/0.004167, allocations: 58.94 kB / 352.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004174, allocations: 3.938 kB / 352.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.004181, allocations: 3.984 kB / 352.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.004184, allocations: 4 kB / 352.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.14e-05/0.004205, allocations: 11.94 kB / 352.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.004368, allocations: 268.4 kB / 353.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.581e-05/0.004434, allocations: 55.16 kB / 353.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.004451, allocations: 15.67 kB / 353.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.004458, allocations: 3.938 kB / 353.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/0.004521, allocations: 68.98 kB / 353.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.52e-07/0.004522, allocations: 0 / 353.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002478/0.00477, allocations: 141.4 kB / 353.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.004794, allocations: 51.41 kB / 353.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.00489, allocations: 262.8 kB / 353.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.004898, allocations: 37.7 kB / 353.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.004937, allocations: 166.8 kB / 353.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.004958, allocations: 31.77 kB / 353.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.004983, allocations: 27.38 kB / 354 MB, free: 3.914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.005036, allocations: 0.4962 MB / 354.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.005051, allocations: 11.98 kB / 354.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.005074, allocations: 35.34 kB / 354.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.005112, allocations: 43.31 kB / 354.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.005113, allocations: 0 / 354.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.291e-05/0.005196, allocations: 97.53 kB / 354.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.005205, allocations: 4 kB / 354.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005209, allocations: 4 kB / 354.6 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.005217, allocations: 3.984 kB / 354.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.005268, allocations: 16 kB / 354.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.005271, allocations: 0 / 354.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.005298, allocations: 4 kB / 354.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.005303, allocations: 0 / 354.7 MB, free: 3.168 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.385e-05/0.005357, allocations: 172.5 kB / 354.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.005374, allocations: 27.73 kB / 354.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.005481, allocations: 103.2 kB / 355 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005482, allocations: 0 / 355 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.005484, allocations: 0 / 355 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.005487, allocations: 0 / 355 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.005686, allocations: 373.6 kB / 355.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.005688, allocations: 384 / 355.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.00571, allocations: 11.94 kB / 355.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.005713, allocations: 4 kB / 355.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.005745, allocations: 4 kB / 355.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.005746, allocations: 0 / 355.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005747, allocations: 4.031 kB / 355.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.425e-05/0.005842, allocations: 255.4 kB / 355.6 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.005853, allocations: 15.91 kB / 355.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.005868, allocations: 7.984 kB / 355.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.005907, allocations: 0 / 355.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.00593, allocations: 7.984 kB / 355.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.00594, allocations: 8 kB / 355.6 MB, free: 2.113 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.02e-05/0.00599, allocations: 189.3 kB / 355.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00599, allocations: 0 / 355.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.006157, allocations: 27.94 kB / 355.9 MB, free: 1.902 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.0007718/0.006929, allocations: 444.1 kB / 356.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.936e-05/0.006998, allocations: 47.53 kB / 356.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007, allocations: 4 kB / 356.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.766e-05/0.007028, allocations: 31.59 kB / 356.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.007231, allocations: 39.77 kB / 356.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.007475, allocations: 257.8 kB / 356.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.531e-05/0.0075, allocations: 75.33 kB / 356.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.007529, allocations: 12.5 kB / 356.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.007576, allocations: 94.12 kB / 356.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007576, allocations: 0 / 356.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of Templates: time 0.003114/0.01069, allocations: 2.045 MB / 358.9 MB, free: 14.93 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.0812692758627236]