Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.001388/0.001388, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.002263/0.002263, allocations: 166 kB / 24.82 MB, free: 9.309 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.115/1.115, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.3204/0.3204, allocations: 34.26 MB / 296.1 MB, free: 0.6445 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.CombiTable1Dv.Test19,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.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.CombiTable1Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.304e-05, allocations: 2.312 kB / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.00215/0.002173, allocations: 1.626 MB / 380.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.003373, allocations: 1.282 MB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.003436, allocations: 0 / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.003629, allocations: 23.73 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.003899, allocations: 87.55 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.00414, allocations: 115.6 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.004258, allocations: 79.69 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.004342, allocations: 4 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.004401, allocations: 35.91 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.004495, allocations: 31.28 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.004508, allocations: 0 / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.00464, allocations: 87.88 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.004677, allocations: 15.92 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.004697, allocations: 12 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.004873, allocations: 143.5 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.004876, allocations: 4 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004877, allocations: 0 / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004881, allocations: 0 / 382.1 MB, free: 14.79 MB / 362.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.0003373/0.005219, allocations: 424 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.00525, allocations: 8.031 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.005281, allocations: 12.89 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.005396, allocations: 136.4 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.005404, allocations: 4.375 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.005421, allocations: 12.3 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.005531, allocations: 100 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.005539, allocations: 192 / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.005548, allocations: 8.125 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.005552, allocations: 0 / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.005573, allocations: 11.98 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.00579, allocations: 252.4 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.005911, allocations: 39.05 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.005929, allocations: 15.69 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.005949, allocations: 4.078 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.005969, allocations: 41.33 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.00597, allocations: 4 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002411/0.006211, allocations: 85.5 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.006241, allocations: 77.11 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/0.006339, allocations: 204.3 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.006349, allocations: 29.7 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.006395, allocations: 142.8 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.006412, allocations: 15.89 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.00644, allocations: 27.36 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.006547, allocations: 0.4884 MB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.006558, allocations: 3.984 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.039e-05/0.006588, allocations: 53.08 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/0.006616, allocations: 19.69 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.006616, allocations: 0 / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.581e-05/0.006682, allocations: 65.52 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.006694, allocations: 4 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.006698, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.006707, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.866e-05/0.006745, allocations: 15.98 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.006747, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.006766, allocations: 3.938 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.006771, allocations: 8.031 kB / 384.3 MB, free: 12.28 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 (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 6.433e-05/0.006836, allocations: 156.6 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.006857, allocations: 15.88 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.851e-05/0.006945, allocations: 66.39 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006947, allocations: 3.938 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.006949, allocations: 8.281 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006952, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.007145, allocations: 306 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007146, allocations: 0 / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.007171, allocations: 11.98 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007174, allocations: 7.984 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.007177, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007179, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.00718, allocations: 4 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.929e-05/0.007269, allocations: 207.8 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.007277, allocations: 3.953 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.007287, allocations: 4 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.151e-05/0.007318, allocations: 4 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.007338, allocations: 7.984 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.00734, allocations: 0 / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.157e-05/0.007392, allocations: 145 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007392, allocations: 4 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000176/0.007568, allocations: 39.86 kB / 385.3 MB, free: 11.24 MB / 362.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.0009335/0.008501, allocations: 483.6 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.992e-05/0.008581, allocations: 31.61 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.008584, allocations: 4 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.873e-05/0.008602, allocations: 19.69 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.008794, allocations: 27.84 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.00904, allocations: 173.9 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.248e-05/0.009073, allocations: 55.36 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.455e-05/0.009107, allocations: 15.92 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.009172, allocations: 94.19 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009172, allocations: 0 / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Templates: time 0.003354/0.01253, allocations: 2.034 MB / 388.2 MB, free: 8.449 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.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.637668116018176]