Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.00186/0.00186, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002063/0.002063, allocations: 165.3 kB / 24.27 MB, free: 152 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.581/1.581, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.378/0.378, allocations: 34.27 MB / 295.3 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.027e-05, allocations: 2.312 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003702/0.003733, allocations: 1.603 MB / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.00508, allocations: 0.5337 MB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.628e-05/0.005147, allocations: 0 / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.005418, allocations: 27.78 kB / 379.5 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.005726, allocations: 83.56 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.006054, allocations: 111.6 kB / 379.7 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.00622, allocations: 63.78 kB / 379.7 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.006314, allocations: 8 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.0064, allocations: 35.89 kB / 379.8 MB, free: 468 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.819e-05/0.006468, allocations: 19.92 kB / 379.8 MB, free: 448 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.006495, allocations: 4 kB / 379.8 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.006614, allocations: 27.94 kB / 379.8 MB, free: 416 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.876e-05/0.006683, allocations: 15.92 kB / 379.8 MB, free: 400 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.006739, allocations: 19.92 kB / 379.8 MB, free: 380 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.006976, allocations: 79.72 kB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006979, allocations: 0 / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.00698, allocations: 0 / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.006986, allocations: 0 / 379.9 MB, free: 300 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006136/0.007599, allocations: 411.8 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.007642, allocations: 12.03 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.007709, allocations: 12.88 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.007921, allocations: 140.4 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.007932, allocations: 384 / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.007951, allocations: 4.375 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.008091, allocations: 42.25 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.008105, allocations: 4.188 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.008119, allocations: 4.125 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.008123, allocations: 0 / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.008212, allocations: 19.92 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.008684, allocations: 279.8 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.008928, allocations: 47.05 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.008978, allocations: 19.72 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.009007, allocations: 15.91 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.009187, allocations: 41.33 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.009188, allocations: 0 / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005929/0.009781, allocations: 129.3 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.009836, allocations: 55.39 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.01005, allocations: 208.7 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.01008, allocations: 29.7 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.01018, allocations: 146.9 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.01021, allocations: 11.91 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.01026, allocations: 27.38 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003043/0.01057, allocations: 0.4962 MB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.01063, allocations: 15.98 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.705e-05/0.01068, allocations: 8 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.01079, allocations: 39.67 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01079, allocations: 0 / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001776/0.01097, allocations: 81.5 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.01098, allocations: 4 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01099, allocations: 0 / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.011, allocations: 4 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.01107, allocations: 11.98 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01108, allocations: 4 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/0.01112, allocations: 7.891 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.01113, allocations: 4 kB / 382.2 MB, free: 13.79 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 0.0001269/0.01125, allocations: 156.6 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.01129, allocations: 11.89 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.01154, allocations: 94.05 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01154, allocations: 0 / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01155, allocations: 4 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01155, allocations: 4 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.01201, allocations: 337.7 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01201, allocations: 0 / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.01207, allocations: 15.98 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01207, allocations: 0 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.01208, allocations: 0 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01208, allocations: 7.875 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01208, allocations: 0 / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.01235, allocations: 235.8 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.01238, allocations: 3.953 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.0124, allocations: 4 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.01245, allocations: 0 / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.0125, allocations: 7.984 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.0125, allocations: 4 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.01263, allocations: 151.2 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01263, allocations: 0 / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01286, allocations: 15.98 kB / 383.2 MB, free: 12.68 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.002787/0.01565, allocations: 438.8 kB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.01584, allocations: 43.61 kB / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01584, allocations: 0 / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.01591, allocations: 27.67 kB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.01625, allocations: 19.92 kB / 383.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005496/0.0168, allocations: 194.5 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.0169, allocations: 87.25 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.546e-05/0.01696, allocations: 11.98 kB / 384.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.017, allocations: 16.5 kB / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.017, allocations: 0 / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of Templates: time 0.004521/0.02152, allocations: 1.173 MB / 385.2 MB, free: 10.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.9057024150388315]