Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001389/0.001389, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001538/0.001538, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3731/0.3731, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.844e-05/4.092e-05, allocations: 9.344 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003678/0.003719, allocations: 1.622 MB / 376.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.005157, allocations: 0.5376 MB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.005285, allocations: 0 / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.005784, allocations: 123.6 kB / 377.6 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005407/0.006325, allocations: 135.4 kB / 377.7 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.006793, allocations: 107.7 kB / 377.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.007111, allocations: 107.7 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.00726, allocations: 12 kB / 377.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.007441, allocations: 55.86 kB / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.007655, allocations: 87.83 kB / 378.1 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.007681, allocations: 0 / 378.1 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.007841, allocations: 51.92 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.803e-05/0.007939, allocations: 31.84 kB / 378.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.007994, allocations: 11.94 kB / 378.2 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.008381, allocations: 119.5 kB / 378.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.008391, allocations: 3.984 kB / 378.3 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.008393, allocations: 0 / 378.3 MB, free: 1.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.008402, allocations: 0 / 378.3 MB, free: 1.969 MB / 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.0008374/0.009239, allocations: 365.4 kB / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.00929, allocations: 8.031 kB / 378.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.103e-05/0.009381, allocations: 16.84 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.009662, allocations: 149.3 kB / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.00968, allocations: 8.375 kB / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.009712, allocations: 4.375 kB / 378.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.00991, allocations: 58.17 kB / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.009924, allocations: 192 / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.009938, allocations: 4.125 kB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.009944, allocations: 0 / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.01006, allocations: 31.97 kB / 378.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.01058, allocations: 252.5 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.01072, allocations: 50.5 kB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.01078, allocations: 20.88 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.01081, allocations: 0 / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.01085, allocations: 38.56 kB / 379.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.01086, allocations: 3.938 kB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001094/0.01195, allocations: 249.1 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.012, allocations: 51.41 kB / 379.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.01237, allocations: 279.8 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.01239, allocations: 25.7 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.01249, allocations: 116.1 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.01253, allocations: 31.73 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.01258, allocations: 17.72 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003087/0.01289, allocations: 338.8 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.01299, allocations: 27.98 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.479e-05/0.01308, allocations: 31.97 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.01327, allocations: 77.11 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.01327, allocations: 0 / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002637/0.01353, allocations: 117.6 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.01355, allocations: 7.984 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01356, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.01358, allocations: 7.938 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.0137, allocations: 16 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.0137, allocations: 3.984 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.01376, allocations: 4.422 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.01377, allocations: 4 kB / 380.6 MB, free: 15.42 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 0.0001647/0.01393, allocations: 137.8 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.01399, allocations: 19.91 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.01433, allocations: 131 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.01434, allocations: 7.984 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.01435, allocations: 0 / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.01436, allocations: 8 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.01504, allocations: 370.9 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.01504, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-05/0.01511, allocations: 12 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.01512, allocations: 7.984 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.01514, allocations: 7.938 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01514, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01514, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.0155, allocations: 232.2 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.01552, allocations: 11.91 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.01555, allocations: 3.984 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.01563, allocations: 4 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.01568, allocations: 11.92 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.01569, allocations: 4 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002553/0.01595, allocations: 204.2 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01595, allocations: 0 / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002931/0.01624, allocations: 27.92 kB / 381.8 MB, free: 14.18 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.002403/0.01864, allocations: 486.4 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.01893, allocations: 79.88 kB / 382.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01893, allocations: 4 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.01904, allocations: 43.84 kB / 382.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.01944, allocations: 19.95 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007478/0.02019, allocations: 330.6 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.02033, allocations: 109.2 kB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.918e-05/0.02041, allocations: 20.7 kB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.02046, allocations: 12.5 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02046, allocations: 0 / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of Templates: time 0.005054/0.02551, allocations: 1.43 MB / 384.3 MB, free: 11.83 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.794846653006971]