Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001377/0.001377, 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.001513/0.001513, 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.515/1.515, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3552/0.3552, allocations: 34.26 MB / 295.3 MB, free: 0.6875 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.CombiTable1Ds.Test16,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.219e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003516/0.003549, allocations: 1.618 MB / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.004719, allocations: 0.5259 MB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.00478, allocations: 4 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.005091, allocations: 71.7 kB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.005421, allocations: 115.5 kB / 379.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.005698, allocations: 87.64 kB / 379.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.005879, allocations: 83.81 kB / 379.8 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.005981, allocations: 11.98 kB / 379.8 MB, free: 432 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.589e-05/0.006077, allocations: 47.83 kB / 379.9 MB, free: 384 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.006196, allocations: 51.92 kB / 379.9 MB, free: 332 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.006214, allocations: 4 kB / 379.9 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.006329, allocations: 55.8 kB / 380 MB, free: 272 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.00639, allocations: 27.91 kB / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.006432, allocations: 11.94 kB / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.006643, allocations: 103.6 kB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006645, allocations: 0 / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006646, allocations: 0 / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.006651, allocations: 4 kB / 380.1 MB, free: 124 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.0006014/0.007253, allocations: 337.6 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.007291, allocations: 8.031 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.007353, allocations: 16.84 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.007577, allocations: 150.2 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.00759, allocations: 384 / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.007618, allocations: 8.375 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.007785, allocations: 54.23 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.007796, allocations: 192 / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.007812, allocations: 8.125 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.007817, allocations: 0 / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.007924, allocations: 23.98 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.008354, allocations: 236.4 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.008476, allocations: 42.56 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.00855, allocations: 28.86 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.008571, allocations: 0 / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.008607, allocations: 34.56 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.008608, allocations: 0 / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001139/0.009747, allocations: 229.1 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.009802, allocations: 59.48 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.01008, allocations: 222.6 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.0101, allocations: 25.7 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.01022, allocations: 108.1 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.01026, allocations: 31.73 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.01031, allocations: 17.72 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.01051, allocations: 326.8 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.863e-05/0.0106, allocations: 31.91 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.01068, allocations: 23.98 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.01085, allocations: 64.83 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01085, allocations: 0 / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002527/0.0111, allocations: 109.5 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.01112, allocations: 4 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01112, allocations: 4 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.01114, allocations: 0 / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01124, allocations: 15.98 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.01125, allocations: 0 / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.0113, allocations: 11.98 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.01131, allocations: 4 kB / 382.3 MB, free: 13.75 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.0001259/0.01143, allocations: 125.8 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.01148, allocations: 23.83 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.01178, allocations: 119.1 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.01179, allocations: 3.984 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.01179, allocations: 0 / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.0118, allocations: 0 / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.01237, allocations: 351.2 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01237, allocations: 0 / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/0.01245, allocations: 15.98 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.01245, allocations: 4 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.01246, allocations: 0 / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01246, allocations: 0 / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01246, allocations: 4.016 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.01279, allocations: 220.2 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.0128, allocations: 7.953 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.01282, allocations: 0 / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.01295, allocations: 4 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.01301, allocations: 15.92 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.01301, allocations: 4 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.01318, allocations: 156.2 kB / 383.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01318, allocations: 0 / 383.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002654/0.01345, allocations: 23.98 kB / 383.4 MB, free: 12.62 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.002348/0.01579, allocations: 0.4885 MB / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.01605, allocations: 55.97 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01605, allocations: 0 / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.01615, allocations: 43.91 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.01656, allocations: 23.89 kB / 384 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/0.01721, allocations: 257.5 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.01732, allocations: 96.8 kB / 384.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.01738, allocations: 17.09 kB / 384.3 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.01743, allocations: 16.5 kB / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01743, allocations: 0 / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of Templates: time 0.005005/0.02243, allocations: 1.374 MB / 385.7 MB, free: 10.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.92685965099372]