Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.0009785/0.0009785, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009964/0.0009964, allocations: 164.8 kB / 25.61 MB, free: 8.891 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.8863/0.8863, allocations: 177.1 MB / 206 MB, free: 4.508 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.1384/0.1384, allocations: 34.26 MB / 296.8 MB, free: 13.94 MB / 282.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.98e-05, allocations: 6.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002592/0.002612, allocations: 1.618 MB / 380.9 MB, free: 21.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007781/0.00339, allocations: 0.5297 MB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.003445, allocations: 0 / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.003647, allocations: 35.78 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.003875, allocations: 79.62 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.004081, allocations: 115.5 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.004188, allocations: 67.83 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.775e-05/0.004266, allocations: 11.84 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.535e-05/0.004311, allocations: 27.92 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.004356, allocations: 19.92 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.004368, allocations: 7.984 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.385e-05/0.004422, allocations: 35.92 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.004456, allocations: 15.94 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.004474, allocations: 15.86 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.004581, allocations: 71.73 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.004584, allocations: 0 / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004585, allocations: 4 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004589, allocations: 0 / 382 MB, free: 20.74 MB / 314.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.0002743/0.004864, allocations: 412.1 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.004892, allocations: 12.03 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.004923, allocations: 16.89 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.837e-05/0.005022, allocations: 137 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.00503, allocations: 8.312 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.005045, allocations: 8.359 kB / 382.5 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.997e-05/0.005115, allocations: 54.69 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005123, allocations: 0 / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.005129, allocations: 11.94 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.005134, allocations: 0 / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.005151, allocations: 4 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.00533, allocations: 252.4 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.005437, allocations: 50.97 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.00545, allocations: 15.62 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.005462, allocations: 0 / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.005474, allocations: 41.39 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 5.72e-07/0.005475, allocations: 0 / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002266/0.005701, allocations: 85.59 kB / 383 MB, free: 19.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.485e-05/0.005716, allocations: 51.41 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/0.005777, allocations: 212.7 kB / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-06/0.005782, allocations: 25.7 kB / 383.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.00581, allocations: 154.8 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.005825, allocations: 15.91 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.005847, allocations: 23.36 kB / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.005882, allocations: 0.4884 MB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.005893, allocations: 7.984 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.005904, allocations: 11.94 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.005928, allocations: 19.86 kB / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.00593, allocations: 7.938 kB / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.157e-05/0.005981, allocations: 57.64 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.587e-06/0.00599, allocations: 4 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.005994, allocations: 0 / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.006001, allocations: 8 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.574e-05/0.006037, allocations: 15.98 kB / 384.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.006039, allocations: 0 / 384.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.006054, allocations: 0 / 384.1 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.006058, allocations: 7.938 kB / 384.1 MB, free: 18.36 MB / 314.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 3.465e-05/0.006093, allocations: 156.5 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.006111, allocations: 11.95 kB / 384.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.052e-05/0.006192, allocations: 78.02 kB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006193, allocations: 0 / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.006195, allocations: 0 / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006197, allocations: 4 kB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.006342, allocations: 301.9 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.006344, allocations: 7.984 kB / 384.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.006367, allocations: 8 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.006368, allocations: 0 / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-06/0.006372, allocations: 0 / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.006373, allocations: 0 / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.006373, allocations: 0 / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.22e-05/0.006435, allocations: 211.9 kB / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-06/0.006442, allocations: 8.016 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-06/0.006451, allocations: 7.984 kB / 384.9 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.059e-05/0.006482, allocations: 12 kB / 384.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.006499, allocations: 0 / 384.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.006502, allocations: 4.281 kB / 384.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.889e-05/0.00653, allocations: 154.4 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006531, allocations: 0 / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001536/0.006684, allocations: 12 kB / 385.1 MB, free: 17.34 MB / 314.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.0006816/0.007366, allocations: 388.8 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.689e-05/0.007433, allocations: 27.67 kB / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.007434, allocations: 0 / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.007451, allocations: 27.59 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.007636, allocations: 26.92 kB / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002083/0.007844, allocations: 176.2 kB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.189e-05/0.007866, allocations: 67.2 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.561e-05/0.007892, allocations: 11.97 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.007928, allocations: 82.19 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007929, allocations: 0 / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of Templates: time 0.002328/0.01026, allocations: 1.303 MB / 387.2 MB, free: 15.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.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.904930081218481]