Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001204/0.001204, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001343/0.001343, allocations: 165.9 kB / 24.99 MB, free: 8.336 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.9745/0.9745, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.265/0.265, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.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.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.1.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.979e-05, allocations: 9.906 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002168/0.002188, allocations: 1.65 MB / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008126/0.003001, allocations: 0.5298 MB / 380.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.003051, allocations: 0 / 380.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.003233, allocations: 83.64 kB / 380.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.003422, allocations: 107.6 kB / 380.4 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.003585, allocations: 95.56 kB / 380.5 MB, free: 488 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.003698, allocations: 79.83 kB / 380.6 MB, free: 408 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.131e-05/0.00376, allocations: 15.97 kB / 380.6 MB, free: 392 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.127e-05/0.003811, allocations: 43.84 kB / 380.6 MB, free: 348 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.611e-05/0.003887, allocations: 55.86 kB / 380.7 MB, free: 292 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.003897, allocations: 8 kB / 380.7 MB, free: 284 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.869e-05/0.003956, allocations: 47.91 kB / 380.8 MB, free: 236 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.00399, allocations: 19.88 kB / 380.8 MB, free: 216 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.004012, allocations: 19.92 kB / 380.8 MB, free: 196 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.004127, allocations: 79.73 kB / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004129, allocations: 3.984 kB / 380.9 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004129, allocations: 0 / 380.9 MB, free: 112 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.004133, allocations: 0 / 380.9 MB, free: 112 kB / 346.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.00033/0.004463, allocations: 447.8 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.00449, allocations: 8.031 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.004521, allocations: 20.84 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.004644, allocations: 149.1 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.004652, allocations: 4.375 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.004667, allocations: 4.375 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.004752, allocations: 54.95 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.004761, allocations: 192 / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.004769, allocations: 8.125 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.004774, allocations: 0 / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.684e-05/0.004811, allocations: 15.92 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.005054, allocations: 299.6 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.444e-05/0.005108, allocations: 43.06 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.005131, allocations: 19.7 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.005144, allocations: 3.938 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.005164, allocations: 33.39 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.005165, allocations: 0 / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004189/0.005584, allocations: 173.3 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.00561, allocations: 55.41 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.006076, allocations: 242.4 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.006086, allocations: 33.7 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.006139, allocations: 158.8 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.006156, allocations: 15.81 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.006188, allocations: 35.36 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.006292, allocations: 0.4961 MB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.00631, allocations: 8 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.006327, allocations: 12 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.293e-05/0.00637, allocations: 39.61 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.006371, allocations: 0 / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.029e-05/0.006451, allocations: 73.66 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.006462, allocations: 13.97 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.006464, allocations: 4 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.006473, allocations: 0 / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.00653, allocations: 19.98 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.006533, allocations: 0 / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.006551, allocations: 4 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.006556, allocations: 0 / 383.3 MB, free: 13.45 MB / 362.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 6.439e-05/0.006621, allocations: 172.4 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.006643, allocations: 15.91 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.006763, allocations: 83.12 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006765, allocations: 0 / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.006766, allocations: 4 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006769, allocations: 0 / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.007029, allocations: 381.4 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.007031, allocations: 4 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.007068, allocations: 19.94 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.00707, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.007075, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.007077, allocations: 4 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.007079, allocations: 3.984 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.007183, allocations: 231.5 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.007191, allocations: 11.98 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.007202, allocations: 4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.392e-05/0.007236, allocations: 8 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.007258, allocations: 11.92 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.007261, allocations: 3.938 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.622e-05/0.007328, allocations: 171.2 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007328, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.007478, allocations: 19.98 kB / 384.4 MB, free: 12.23 MB / 362.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.0008319/0.008309, allocations: 440.5 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.705e-05/0.008397, allocations: 43.66 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008398, allocations: 0 / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.008426, allocations: 31.61 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.008611, allocations: 23.94 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.008904, allocations: 229.8 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.008943, allocations: 75.27 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.952e-05/0.008973, allocations: 13.09 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.008998, allocations: 16.5 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.008998, allocations: 0 / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.002706/0.0117, allocations: 1.369 MB / 386.7 MB, free: 10.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.1678586821071804]