Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.001213/0.001213, 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.001324/0.001324, allocations: 165 kB / 23.79 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.05/1.05, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1503/0.1503, allocations: 32.36 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.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.962e-05, allocations: 8.219 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.002535/0.002555, allocations: 1.595 MB / 349.3 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006792/0.003234, allocations: 335.4 kB / 349.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.003293, allocations: 0 / 349.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.003637, allocations: 95.67 kB / 349.7 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.00387, allocations: 71.72 kB / 349.8 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.004146, allocations: 87.77 kB / 349.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004318, allocations: 75.75 kB / 349.9 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.004425, allocations: 11.98 kB / 349.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.452e-05/0.0045, allocations: 39.89 kB / 350 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.967e-05/0.004599, allocations: 51.88 kB / 350 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.004619, allocations: 0 / 350 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.004696, allocations: 35.91 kB / 350.1 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.004744, allocations: 15.94 kB / 350.1 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.004778, allocations: 15.94 kB / 350.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.004933, allocations: 83.66 kB / 350.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.004936, allocations: 4 kB / 350.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004936, allocations: 0 / 350.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.00494, allocations: 0 / 350.2 MB, free: 6.926 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003399/0.00528, allocations: 432 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.005317, allocations: 11.97 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.00536, allocations: 16.84 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.005472, allocations: 137.9 kB / 350.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.005481, allocations: 384 / 350.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.005499, allocations: 384 / 350.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.753e-05/0.005597, allocations: 58.89 kB / 350.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.005605, allocations: 192 / 350.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.005616, allocations: 16.11 kB / 350.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.005622, allocations: 0 / 350.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.646e-05/0.005648, allocations: 4 kB / 350.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.005886, allocations: 291.8 kB / 351.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.00605, allocations: 46.98 kB / 351.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.006071, allocations: 7.688 kB / 351.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.00609, allocations: 7.938 kB / 351.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.006105, allocations: 41.47 kB / 351.2 MB, free: 5.746 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.006107, allocations: 3.984 kB / 351.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002976/0.006404, allocations: 105.4 kB / 351.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.006427, allocations: 55.41 kB / 351.4 MB, free: 5.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.006532, allocations: 234.6 kB / 351.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.006541, allocations: 25.7 kB / 351.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.006583, allocations: 154.9 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.006608, allocations: 23.84 kB / 351.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.006635, allocations: 19.38 kB / 351.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.006698, allocations: 0.4962 MB / 352.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.006715, allocations: 4 kB / 352.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.277e-05/0.006728, allocations: 4 kB / 352.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.006764, allocations: 35.8 kB / 352.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.006765, allocations: 8 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.222e-05/0.006837, allocations: 57.59 kB / 352.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.006855, allocations: 4 kB / 352.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.006861, allocations: 0 / 352.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.006879, allocations: 0 / 352.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.693e-05/0.006916, allocations: 11.98 kB / 352.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.00692, allocations: 0 / 352.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.00694, allocations: 11.88 kB / 352.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.006946, allocations: 4 kB / 352.5 MB, free: 4.426 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 (5): * Single equations (assignments): 5 * 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.767e-05/0.006994, allocations: 156.6 kB / 352.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.007012, allocations: 23.83 kB / 352.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.007112, allocations: 70.78 kB / 352.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.007115, allocations: 0 / 352.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.007119, allocations: 0 / 352.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.007123, allocations: 0 / 352.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.007323, allocations: 333.3 kB / 353 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007325, allocations: 4 kB / 353 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.007353, allocations: 11.98 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.007356, allocations: 0 / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.007365, allocations: 0 / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.007366, allocations: 4 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007368, allocations: 192 / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.642e-05/0.007454, allocations: 219.8 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.007464, allocations: 11.95 kB / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.007476, allocations: 4 kB / 353.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.93e-05/0.007505, allocations: 0 / 353.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.007545, allocations: 7.984 kB / 353.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.007548, allocations: 0 / 353.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.441e-05/0.007603, allocations: 176.1 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007603, allocations: 4 kB / 353.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.007767, allocations: 15.98 kB / 353.5 MB, free: 3.324 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 (5): * Single equations (assignments): 5 * 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.0007541/0.008521, allocations: 378.7 kB / 353.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.008627, allocations: 27.67 kB / 353.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.008628, allocations: 4 kB / 353.9 MB, free: 3.008 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.008652, allocations: 27.61 kB / 353.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.008866, allocations: 17.19 kB / 353.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.009167, allocations: 206.7 kB / 354.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.273e-05/0.009199, allocations: 75.27 kB / 354.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.78e-05/0.009227, allocations: 11.97 kB / 354.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.009252, allocations: 16.5 kB / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009252, allocations: 4 kB / 354.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of Templates: time 0.003162/0.01241, allocations: 1.255 MB / 355.5 MB, free: 1.359 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.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.193064815364778]