Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001052/0.001052, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001223/0.001223, allocations: 172.6 kB / 24.92 MB, free: 8.727 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 1.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.251/0.251, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.072e-05, allocations: 3.188 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002456/0.002477, allocations: 1.69 MB / 325 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000714/0.003191, allocations: 0.5491 MB / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.003234, allocations: 0 / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.00345, allocations: 75.7 kB / 325.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.00364, allocations: 95.53 kB / 325.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.003812, allocations: 103.6 kB / 325.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.003936, allocations: 83.8 kB / 325.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.572e-05/0.004011, allocations: 8 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.296e-05/0.004084, allocations: 47.88 kB / 325.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.403e-05/0.004168, allocations: 55.81 kB / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.004181, allocations: 4 kB / 326 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.004252, allocations: 43.92 kB / 326 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.00429, allocations: 19.88 kB / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.004312, allocations: 23.91 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.004444, allocations: 79.73 kB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004447, allocations: 3.984 kB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004447, allocations: 0 / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004451, allocations: 4 kB / 326.2 MB, free: 6.734 MB / 298.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.0002894/0.00474, allocations: 322 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.00477, allocations: 16.03 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.004793, allocations: 4.938 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.004923, allocations: 139.5 kB / 326.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.00493, allocations: 384 / 326.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.004952, allocations: 16.34 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.972e-05/0.005041, allocations: 50.95 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.005051, allocations: 192 / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.005059, allocations: 8.125 kB / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.005063, allocations: 0 / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.005085, allocations: 15.92 kB / 326.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.005268, allocations: 167.1 kB / 326.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.939e-05/0.005308, allocations: 34.56 kB / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.005321, allocations: 8.859 kB / 326.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.005334, allocations: 0 / 326.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.005353, allocations: 38.59 kB / 327 MB, free: 5.836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.005353, allocations: 0 / 327 MB, free: 5.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003568/0.00571, allocations: 145.8 kB / 327.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.005736, allocations: 55.41 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.005838, allocations: 172.8 kB / 327.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.005848, allocations: 37.7 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.005881, allocations: 100.8 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.005902, allocations: 23.8 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.005929, allocations: 21.7 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.006006, allocations: 326.8 kB / 327.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.006017, allocations: 4 kB / 327.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.177e-05/0.006029, allocations: 8 kB / 327.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.133e-05/0.00606, allocations: 28.83 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006061, allocations: 0 / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.41e-05/0.006125, allocations: 69.58 kB / 327.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.006137, allocations: 8 kB / 328 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.006141, allocations: 0 / 328 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.006149, allocations: 7.984 kB / 328 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.006203, allocations: 15.98 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.006205, allocations: 0 / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.006223, allocations: 7.938 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.006228, allocations: 0 / 328 MB, free: 4.758 MB / 298.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 (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 prepare postOptimizeDAE: time 5.583e-05/0.006284, allocations: 116.7 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.006303, allocations: 15.88 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.907e-05/0.006392, allocations: 75.42 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006394, allocations: 4 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.006395, allocations: 0 / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.006397, allocations: 4 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.006749, allocations: 251.5 kB / 328.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006751, allocations: 0 / 328.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.006787, allocations: 15.98 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.006789, allocations: 0 / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.006795, allocations: 4 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006796, allocations: 0 / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006797, allocations: 3.938 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.299e-05/0.00688, allocations: 164.4 kB / 328.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.00689, allocations: 15.89 kB / 328.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.006904, allocations: 0 / 328.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.006936, allocations: 7.984 kB / 328.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.006959, allocations: 4 kB / 328.6 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.006965, allocations: 7.984 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.851e-05/0.007004, allocations: 47.66 kB / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007004, allocations: 0 / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001291/0.007133, allocations: 23.98 kB / 328.7 MB, free: 3.941 MB / 298.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: 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.001243/0.008376, allocations: 0.5802 MB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.577e-05/0.008452, allocations: 32.78 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.008454, allocations: 0 / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.607e-05/0.00848, allocations: 28.94 kB / 329.4 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.008631, allocations: 19.98 kB / 329.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.008914, allocations: 219.7 kB / 329.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.008953, allocations: 71.33 kB / 329.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.211e-05/0.008985, allocations: 12.73 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.009037, allocations: 59.36 kB / 329.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009037, allocations: 4.062 kB / 329.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of Templates: time 0.002733/0.01177, allocations: 1.489 MB / 331.2 MB, free: 1.695 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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: 2.9100593300536275]