Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001103/0.001103, allocations: 80.98 kB / 20.65 MB, free: 3.844 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.001134/0.001134, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9149/0.9149, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1313/0.1313, allocations: 32.37 MB / 270.7 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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.117e-05, allocations: 2.312 kB / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002193/0.002214, allocations: 1.641 MB / 349.8 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004558/0.00267, allocations: 343.1 kB / 350.1 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.00272, allocations: 4 kB / 350.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.002912, allocations: 59.73 kB / 350.2 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.003054, allocations: 55.75 kB / 350.2 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.003304, allocations: 151.6 kB / 350.4 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.003411, allocations: 75.77 kB / 350.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.437e-05/0.003485, allocations: 15.98 kB / 350.5 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.003541, allocations: 39.89 kB / 350.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.003612, allocations: 51.88 kB / 350.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.003626, allocations: 0 / 350.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.905e-05/0.003685, allocations: 35.94 kB / 350.6 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.00373, allocations: 23.91 kB / 350.6 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.003753, allocations: 15.92 kB / 350.6 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.00387, allocations: 75.69 kB / 350.7 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-06/0.003871, allocations: 0 / 350.7 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.003872, allocations: 0 / 350.7 MB, free: 6.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.003875, allocations: 0 / 350.7 MB, free: 6.586 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002546/0.004129, allocations: 439.9 kB / 351.1 MB, free: 6.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.004163, allocations: 16.03 kB / 351.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.004193, allocations: 12.84 kB / 351.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.004281, allocations: 144.3 kB / 351.3 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.00429, allocations: 384 / 351.3 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.004304, allocations: 4.375 kB / 351.3 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/0.00439, allocations: 62.88 kB / 351.4 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.004398, allocations: 4.188 kB / 351.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-06/0.004405, allocations: 4.125 kB / 351.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.004409, allocations: 0 / 351.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.367e-05/0.004433, allocations: 7.984 kB / 351.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/0.007655, allocations: 272.4 kB / 351.6 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.203e-05/0.007707, allocations: 43 kB / 351.7 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.007724, allocations: 11.77 kB / 351.7 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.007742, allocations: 4 kB / 351.7 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.007756, allocations: 37.33 kB / 351.7 MB, free: 5.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.007757, allocations: 0 / 351.7 MB, free: 5.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002731/0.00803, allocations: 109.5 kB / 351.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.312e-05/0.008043, allocations: 51.41 kB / 351.9 MB, free: 5.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.008126, allocations: 226.8 kB / 352.1 MB, free: 5.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-06/0.008132, allocations: 29.7 kB / 352.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.008164, allocations: 150.8 kB / 352.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.008182, allocations: 19.84 kB / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.008213, allocations: 23.38 kB / 352.3 MB, free: 4.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.215e-05/0.008255, allocations: 0.4962 MB / 352.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.008271, allocations: 15.98 kB / 352.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.008286, allocations: 12.05 kB / 352.9 MB, free: 4.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/0.00832, allocations: 27.62 kB / 352.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.008321, allocations: 0 / 352.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.409e-05/0.008395, allocations: 69.53 kB / 353 MB, free: 4.129 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.008404, allocations: 15.94 kB / 353 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.008407, allocations: 0 / 353 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.008416, allocations: 0 / 353 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.008481, allocations: 15.98 kB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-06/0.008483, allocations: 0 / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.008509, allocations: 7.938 kB / 353 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.008514, allocations: 4 kB / 353 MB, free: 4.086 MB / 282.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 (7): * Single equations (assignments): 7 * 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 3.962e-05/0.008554, allocations: 168.5 kB / 353.2 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.008581, allocations: 15.89 kB / 353.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.122e-05/0.008672, allocations: 70.45 kB / 353.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008674, allocations: 8 kB / 353.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.008675, allocations: 0 / 353.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.008678, allocations: 0 / 353.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.008871, allocations: 310 kB / 353.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008872, allocations: 3.984 kB / 353.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.008911, allocations: 12 kB / 353.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.008913, allocations: 0 / 353.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.008919, allocations: 8 kB / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.00892, allocations: 0 / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008921, allocations: 0 / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.637e-05/0.008997, allocations: 231.7 kB / 353.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.009004, allocations: 3.953 kB / 353.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.009016, allocations: 4 kB / 353.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.208e-05/0.009068, allocations: 4 kB / 353.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.009092, allocations: 7.984 kB / 353.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.009096, allocations: 0 / 353.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.834e-05/0.009134, allocations: 159.1 kB / 354 MB, free: 3.035 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009134, allocations: 0 / 354 MB, free: 3.035 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.009347, allocations: 12 kB / 354 MB, free: 3.023 MB / 282.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 (7): * Single equations (assignments): 7 * 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.0006945/0.01004, allocations: 390.6 kB / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.313e-05/0.01009, allocations: 39.59 kB / 354.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.0101, allocations: 0 / 354.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.821e-05/0.01011, allocations: 23.67 kB / 354.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.0103, allocations: 37.08 kB / 354.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.01174, allocations: 214.6 kB / 354.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.274e-05/0.01179, allocations: 71.33 kB / 354.8 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.655e-05/0.01185, allocations: 11.98 kB / 354.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.01192, allocations: 74.2 kB / 354.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of SimCode: time 1.363e-06/0.01192, allocations: 4 kB / 354.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of Templates: time 0.00403/0.01595, allocations: 1.467 MB / 356.3 MB, free: 0.7422 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.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.141705820336938]