Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.002588/0.002588, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.002958/0.002958, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1957/0.1957, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.022e-05, allocations: 6.312 kB / 346.9 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.002132/0.002152, allocations: 1.585 MB / 348.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009975/0.003149, allocations: 1.06 MB / 349.6 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.003192, allocations: 0 / 349.6 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.003427, allocations: 27.8 kB / 349.6 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.003593, allocations: 43.77 kB / 349.7 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.003806, allocations: 87.75 kB / 349.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.003931, allocations: 75.75 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.004008, allocations: 12.17 kB / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.88e-05/0.004067, allocations: 31.92 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004648/0.004532, allocations: 27.89 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.004552, allocations: 8 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.782e-05/0.00464, allocations: 47.92 kB / 349.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.00468, allocations: 15.92 kB / 350 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.004707, allocations: 15.92 kB / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.00487, allocations: 111.6 kB / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004872, allocations: 0 / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004872, allocations: 0 / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.004876, allocations: 0 / 350.1 MB, free: 6.629 MB / 282.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.0003952/0.005271, allocations: 415.8 kB / 350.5 MB, free: 6.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.005303, allocations: 12.03 kB / 350.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.005353, allocations: 16.89 kB / 350.5 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.005497, allocations: 140.5 kB / 350.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.005509, allocations: 384 / 350.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.00553, allocations: 8.375 kB / 350.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.005679, allocations: 107 kB / 350.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.005693, allocations: 192 / 350.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.005706, allocations: 11.88 kB / 350.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.00571, allocations: 3.938 kB / 350.8 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.472e-05/0.005795, allocations: 23.98 kB / 350.8 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.006134, allocations: 426.6 kB / 351.2 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.006371, allocations: 106.1 kB / 351.3 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.006421, allocations: 27.38 kB / 351.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.00644, allocations: 0 / 351.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.006456, allocations: 45.41 kB / 351.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.006457, allocations: 0 / 351.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005753/0.007032, allocations: 189.2 kB / 351.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.007061, allocations: 102.8 kB / 351.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.791e-05/0.007159, allocations: 212.4 kB / 351.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.007167, allocations: 25.7 kB / 351.9 MB, free: 4.574 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.0072, allocations: 138.9 kB / 352.1 MB, free: 4.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.007225, allocations: 39.69 kB / 352.1 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.007264, allocations: 31.36 kB / 352.1 MB, free: 4.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.74e-05/0.007322, allocations: 0.5001 MB / 352.6 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.007382, allocations: 19.98 kB / 352.6 MB, free: 3.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/0.007449, allocations: 72.75 kB / 352.7 MB, free: 3.734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.007566, allocations: 75.28 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.007567, allocations: 32 / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.007734, allocations: 109.7 kB / 352.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.007744, allocations: 4 kB / 352.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.007747, allocations: 0 / 352.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.00776, allocations: 4 kB / 352.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/0.007833, allocations: 16 kB / 352.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.007838, allocations: 3.984 kB / 352.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.007875, allocations: 4 kB / 352.9 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.007882, allocations: 4 kB / 352.9 MB, free: 3.504 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 5.454e-05/0.007937, allocations: 168.5 kB / 353.1 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.007987, allocations: 11.95 kB / 353.1 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.008207, allocations: 117.7 kB / 353.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.008209, allocations: 0 / 353.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.008212, allocations: 0 / 353.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.008215, allocations: 0 / 353.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.008647, allocations: 0.5157 MB / 353.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.008649, allocations: 4.312 kB / 353.7 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.008714, allocations: 23.92 kB / 353.8 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.008716, allocations: 4.031 kB / 353.8 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.008725, allocations: 4 kB / 353.8 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.008727, allocations: 4 kB / 353.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008728, allocations: 0 / 353.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.00894, allocations: 382.6 kB / 354.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.008952, allocations: 11.95 kB / 354.2 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.00897, allocations: 0 / 354.2 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.009065, allocations: 4 kB / 354.2 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.009103, allocations: 19.86 kB / 354.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.009109, allocations: 0 / 354.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.41e-05/0.009163, allocations: 159.2 kB / 354.3 MB, free: 2.008 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009163, allocations: 0 / 354.3 MB, free: 2.008 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002825/0.009445, allocations: 27.94 kB / 354.4 MB, free: 1.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.002905/0.01235, allocations: 478.8 kB / 354.8 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.01255, allocations: 75.59 kB / 354.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01256, allocations: 0 / 354.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.5e-05/0.01263, allocations: 51.59 kB / 355 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.013, allocations: 21.61 kB / 355 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.01336, allocations: 217.6 kB / 355.2 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.067e-05/0.01342, allocations: 83.27 kB / 355.3 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.016e-05/0.01349, allocations: 24.53 kB / 355.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.01353, allocations: 16.5 kB / 355.3 MB, free: 1.07 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01353, allocations: 0 / 355.3 MB, free: 1.07 MB / 282.7 MB Notification: Performance of Templates: time 0.004564/0.01809, allocations: 1.59 MB / 356.9 MB, free: 15.49 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.807403318001889]