Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001071/0.001071, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001173/0.001173, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.9397/0.9397, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1599/0.1599, allocations: 34.25 MB / 296.8 MB, free: 14.03 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.648e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001829/0.001845, allocations: 1.634 MB / 380.9 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000627/0.002472, allocations: 0.5414 MB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.00252, allocations: 0 / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.00271, allocations: 23.78 kB / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.002896, allocations: 79.56 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.00308, allocations: 99.69 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.003208, allocations: 79.69 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.003296, allocations: 11.86 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.00335, allocations: 35.91 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.003416, allocations: 27.89 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.003428, allocations: 4 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.003544, allocations: 99.75 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.003579, allocations: 19.94 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.003601, allocations: 19.91 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.00378, allocations: 127.6 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003782, allocations: 4 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.003783, allocations: 0 / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.003788, allocations: 0 / 382.1 MB, free: 20.59 MB / 314.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.0002988/0.004087, allocations: 447.8 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.004115, allocations: 8.031 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.004147, allocations: 12.89 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.004254, allocations: 136.4 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.004263, allocations: 8.375 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.004277, allocations: 4.375 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.846e-05/0.004366, allocations: 104 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.004374, allocations: 4.188 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.00438, allocations: 4.125 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.004384, allocations: 7.938 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.004406, allocations: 4 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.004616, allocations: 264.4 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.488e-05/0.00467, allocations: 50.97 kB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.004687, allocations: 15.67 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.004703, allocations: 8.125 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.004717, allocations: 33.39 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.004718, allocations: 4 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002815/0.004999, allocations: 125.4 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.005022, allocations: 81.11 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.005098, allocations: 195.8 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-06/0.005104, allocations: 29.7 kB / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.005135, allocations: 146.8 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.005151, allocations: 23.78 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.005179, allocations: 31.36 kB / 383.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.005219, allocations: 0.4923 MB / 384.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.005233, allocations: 4 kB / 384.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.005262, allocations: 68.98 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.005297, allocations: 35.75 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.005298, allocations: 0 / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.16e-05/0.00537, allocations: 81.47 kB / 384.5 MB, free: 17.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.005379, allocations: 4 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.005384, allocations: 3.984 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.005393, allocations: 4.375 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.005453, allocations: 12 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.005456, allocations: 0 / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.005479, allocations: 11.98 kB / 384.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.005484, allocations: 4.078 kB / 384.5 MB, free: 17.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 4.124e-05/0.005525, allocations: 160.6 kB / 384.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.005549, allocations: 15.83 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.894e-05/0.005648, allocations: 86.42 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.00565, allocations: 0 / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.005651, allocations: 0 / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.005654, allocations: 0 / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.005849, allocations: 337.9 kB / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.00585, allocations: 0 / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.005888, allocations: 15.98 kB / 385.1 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.00589, allocations: 4 kB / 385.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.005894, allocations: 0 / 385.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.005896, allocations: 0 / 385.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005897, allocations: 4 kB / 385.1 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.568e-05/0.005973, allocations: 227.7 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.005982, allocations: 3.953 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.005992, allocations: 4 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.006027, allocations: 0 / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.006049, allocations: 7.984 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.006053, allocations: 4 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.006088, allocations: 153.9 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006088, allocations: 4 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.006287, allocations: 43.86 kB / 385.6 MB, free: 16.81 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009411/0.007228, allocations: 495.9 kB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.219e-05/0.00732, allocations: 55.52 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.007322, allocations: 0 / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.147e-05/0.007343, allocations: 19.69 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.007547, allocations: 26.97 kB / 386.2 MB, free: 16.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.007805, allocations: 184.2 kB / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.278e-05/0.007827, allocations: 67.2 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.129e-05/0.007869, allocations: 20.62 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.007925, allocations: 90.19 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007926, allocations: 0 / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of Templates: time 0.003376/0.0113, allocations: 2.279 MB / 388.8 MB, free: 13.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.0867026052437723]