Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001683/0.001683, 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.001835/0.001835, 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.479/1.479, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3735/0.3735, allocations: 34.27 MB / 295.3 MB, free: 0.6719 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.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_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.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_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.285e-05, allocations: 2.312 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003118/0.003151, allocations: 1.61 MB / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.004518, allocations: 0.5337 MB / 379.5 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.004569, allocations: 0 / 379.5 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.004888, allocations: 91.67 kB / 379.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.005198, allocations: 107.5 kB / 379.7 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.005478, allocations: 99.62 kB / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.005666, allocations: 83.81 kB / 379.8 MB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.005756, allocations: 11.98 kB / 379.8 MB, free: 400 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.889e-05/0.005845, allocations: 51.81 kB / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.005946, allocations: 47.95 kB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.005961, allocations: 0 / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.006068, allocations: 51.84 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.006125, allocations: 27.86 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.006161, allocations: 11.94 kB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.006377, allocations: 111.6 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.006381, allocations: 4 kB / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006382, allocations: 0 / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.006386, allocations: 0 / 380.1 MB, free: 92 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.0005625/0.006949, allocations: 353.5 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.006981, allocations: 8.031 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.007034, allocations: 12.89 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.007242, allocations: 150 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.007254, allocations: 4.375 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.007281, allocations: 4.375 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.007439, allocations: 54.23 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.00745, allocations: 4.188 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.007473, allocations: 8.125 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.007478, allocations: 0 / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.007582, allocations: 27.97 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.007979, allocations: 240.4 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.0081, allocations: 38.56 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.008158, allocations: 20.88 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.00818, allocations: 4 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.008215, allocations: 30.56 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.008217, allocations: 4 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009453/0.009162, allocations: 241.3 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.009209, allocations: 51.41 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.009501, allocations: 230.8 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.009529, allocations: 29.7 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.009619, allocations: 116.1 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.009653, allocations: 23.75 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.009706, allocations: 25.7 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.009895, allocations: 326.8 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.009981, allocations: 20.06 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.01006, allocations: 31.97 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.01022, allocations: 60.83 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.01022, allocations: 0 / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002433/0.01046, allocations: 109.5 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01048, allocations: 4 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.01048, allocations: 0 / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.0105, allocations: 4 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.01061, allocations: 19.98 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01062, allocations: 0 / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.01066, allocations: 4 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.01067, allocations: 4 kB / 382.4 MB, free: 13.7 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.0001271/0.0108, allocations: 137.8 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.01084, allocations: 19.84 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.01113, allocations: 115.1 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01114, allocations: 0 / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.01114, allocations: 0 / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01115, allocations: 4 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.01171, allocations: 351.2 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01171, allocations: 4.031 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.01178, allocations: 16 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.01179, allocations: 3.984 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.0118, allocations: 4 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0118, allocations: 0 / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0118, allocations: 4.016 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.0121, allocations: 212.2 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.01212, allocations: 11.91 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.01214, allocations: 3.938 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.01223, allocations: 12 kB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.01227, allocations: 11.92 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.01228, allocations: 4 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.01246, allocations: 172.3 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01246, allocations: 0 / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000261/0.01272, allocations: 23.94 kB / 383.4 MB, free: 12.54 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.002174/0.01489, allocations: 486.8 kB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.01512, allocations: 59.94 kB / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01512, allocations: 0 / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.01522, allocations: 35.92 kB / 384 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.01561, allocations: 19.98 kB / 384 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006068/0.01621, allocations: 289.3 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.01633, allocations: 96.8 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.01638, allocations: 20.97 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.01643, allocations: 12.5 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01643, allocations: 4 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of Templates: time 0.004717/0.02115, allocations: 1.387 MB / 385.8 MB, free: 10.31 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.8009665090357885]