Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001577/0.001577, allocations: 156.9 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3576/0.3576, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.134e-05, allocations: 2.312 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003295/0.003327, allocations: 1.617 MB / 378.8 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.004546, allocations: 0.5409 MB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.004601, allocations: 3.938 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.004936, allocations: 95.67 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.005264, allocations: 107.5 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.005606, allocations: 115.7 kB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.005809, allocations: 87.73 kB / 379.8 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.005924, allocations: 12 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.006027, allocations: 47.81 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.006143, allocations: 51.94 kB / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.006163, allocations: 4 kB / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.006277, allocations: 47.86 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.006338, allocations: 23.91 kB / 380 MB, free: 152 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.006383, allocations: 15.94 kB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.006635, allocations: 115.5 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.006638, allocations: 4 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006639, allocations: 0 / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.006644, allocations: 0 / 380.1 MB, free: 16 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.0006713/0.007315, allocations: 345.6 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.007363, allocations: 8.031 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.007431, allocations: 16.89 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.007686, allocations: 153.5 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.007701, allocations: 4.375 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.00773, allocations: 384 / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.007912, allocations: 62.17 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.007927, allocations: 8.188 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.007937, allocations: 384 / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.007942, allocations: 384 / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.008052, allocations: 27.92 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.008504, allocations: 244.5 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.008634, allocations: 46.5 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.244e-05/0.008706, allocations: 20.94 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.00873, allocations: 0 / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.008775, allocations: 38.5 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.008776, allocations: 4 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001046/0.009822, allocations: 249.6 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.00988, allocations: 55.41 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.01016, allocations: 230.8 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.01018, allocations: 29.7 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.01028, allocations: 108.1 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.01032, allocations: 31.73 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.01036, allocations: 21.72 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.01056, allocations: 326.8 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.01066, allocations: 35.91 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/0.01074, allocations: 24.06 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.01093, allocations: 80.95 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.01093, allocations: 4 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000253/0.01118, allocations: 113.5 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.0112, allocations: 4 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.0112, allocations: 0 / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.01122, allocations: 4 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.01133, allocations: 19.92 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.01133, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.01138, allocations: 4 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.01139, allocations: 11.98 kB / 382.4 MB, free: 13.55 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.0001251/0.01152, allocations: 125.8 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.01158, allocations: 23.84 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/0.0119, allocations: 131.1 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.0119, allocations: 0 / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.0119, allocations: 0 / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01191, allocations: 0 / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.0125, allocations: 370.8 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.0125, allocations: 4.031 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.417e-05/0.01258, allocations: 19.98 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01259, allocations: 0 / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.0126, allocations: 8 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.0126, allocations: 3.984 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.0126, allocations: 0 / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.01293, allocations: 220.1 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.01295, allocations: 11.91 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.01297, allocations: 0 / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.01305, allocations: 15.98 kB / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.01309, allocations: 7.984 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.01309, allocations: 0 / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001852/0.01328, allocations: 172.3 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01328, allocations: 0 / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000275/0.01355, allocations: 31.86 kB / 383.5 MB, free: 12.36 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.002627/0.01618, allocations: 479.9 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.01646, allocations: 71.89 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01646, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.01656, allocations: 35.98 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.01701, allocations: 16.05 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006773/0.01768, allocations: 297.2 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.01782, allocations: 104.7 kB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.404e-05/0.01789, allocations: 17.03 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.01794, allocations: 16.5 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01794, allocations: 4 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of Templates: time 0.004809/0.02275, allocations: 1.414 MB / 385.9 MB, free: 10.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.9260846169199795]