Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.00102/0.00102, allocations: 80.41 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.001024/0.001024, allocations: 169.7 kB / 25.61 MB, free: 8.926 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.9904/0.9904, allocations: 177.1 MB / 206.1 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] 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.142/0.142, allocations: 32.79 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.667e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003033/0.003059, allocations: 1.695 MB / 379 MB, free: 23.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009481/0.004007, allocations: 0.5685 MB / 379.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.0041, allocations: 0 / 379.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.004693, allocations: 459.1 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.005184, allocations: 299.1 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.005589, allocations: 175.5 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.005823, allocations: 179.6 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.005937, allocations: 16.22 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.006058, allocations: 119.7 kB / 380.8 MB, free: 22.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.006278, allocations: 251.6 kB / 381 MB, free: 21.81 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.006297, allocations: 4 kB / 381 MB, free: 21.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.006411, allocations: 51.91 kB / 381.1 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.006501, allocations: 87.66 kB / 381.2 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.006545, allocations: 43.72 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.006811, allocations: 207.1 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.006814, allocations: 0 / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006815, allocations: 0 / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.006821, allocations: 3.938 kB / 381.4 MB, free: 21.42 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005809/0.007402, allocations: 0.7125 MB / 382.1 MB, free: 20.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.007441, allocations: 11.98 kB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.007507, allocations: 56.66 kB / 382.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.007708, allocations: 252.8 kB / 382.4 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.007718, allocations: 384 / 382.4 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.007741, allocations: 8.312 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.007874, allocations: 58.94 kB / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.007885, allocations: 4.188 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.007895, allocations: 8.125 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.007901, allocations: 0 / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/0.007931, allocations: 8 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.0083, allocations: 348.1 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.752e-05/0.008367, allocations: 39.06 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.00839, allocations: 19.7 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.008409, allocations: 4 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.008429, allocations: 37.42 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.00843, allocations: 0 / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005687/0.008999, allocations: 181.2 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.009022, allocations: 55.41 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.00946, allocations: 0.604 MB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.567e-06/0.009469, allocations: 29.7 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.009626, allocations: 302.7 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.009654, allocations: 27.75 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.009699, allocations: 35.34 kB / 384.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.009805, allocations: 0.5546 MB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.009828, allocations: 11.98 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.009847, allocations: 4 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.407e-05/0.009902, allocations: 47.81 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.009903, allocations: 0 / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001157/0.01002, allocations: 97.41 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01003, allocations: 8 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01004, allocations: 4 kB / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.01005, allocations: 0 / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.01013, allocations: 15.98 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.01013, allocations: 0 / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.122e-05/0.01017, allocations: 4 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.01018, allocations: 4 kB / 384.9 MB, free: 17.7 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 (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.814e-05/0.01025, allocations: 164.5 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.0103, allocations: 47.67 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.01047, allocations: 117.9 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01048, allocations: 0 / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.01048, allocations: 0 / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01048, allocations: 0 / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.01085, allocations: 425.5 kB / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.01085, allocations: 7.984 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.0109, allocations: 23.92 kB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.0109, allocations: 0 / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.01091, allocations: 0 / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.01091, allocations: 4 kB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01091, allocations: 4.031 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.915e-05/0.01101, allocations: 271.2 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.01103, allocations: 35.72 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.01105, allocations: 0 / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.01109, allocations: 8 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.01111, allocations: 3.984 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.01112, allocations: 7.938 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.01126, allocations: 394.6 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01126, allocations: 4 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.01143, allocations: 27.94 kB / 386.4 MB, free: 16.11 MB / 314.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.000875/0.0123, allocations: 439.6 kB / 386.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.669e-05/0.01239, allocations: 43.64 kB / 386.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01239, allocations: 0 / 386.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.01241, allocations: 27.61 kB / 386.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.01265, allocations: 32.75 kB / 387 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.01313, allocations: 0.6034 MB / 387.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.357e-05/0.01319, allocations: 131 kB / 387.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.793e-05/0.01323, allocations: 17.03 kB / 387.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.01327, allocations: 90.12 kB / 387.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01327, allocations: 0 / 387.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of Templates: time 0.003977/0.01725, allocations: 1.792 MB / 389.6 MB, free: 13.06 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.307240179274231]